s4 i;
/* for a description of the stack see IRETURN in java.vmg */
- for (; fp!=NULL;) {
- functionptr f = codegen_findmethod((functionptr) (ip-1));
+
+ for (; fp != NULL; ) {
+ u1 *f = codegen_findmethod((u1 *) (ip - 1));
/* get methodinfo pointer from method header */
+
methodinfo *m = *(methodinfo **) (((u1 *) f) + MethodPointer);
framesize = (*((s4 *) (((u1 *) f) + FrameSize)));
for (i = 0; i < exceptiontablelength; i++) {
ex--;
- c = ex->catchtype;
+ c = ex->catchtype.cls;
if (c != NULL) {
if (!c->loaded)
/* XXX fix me! */
- if (!load_class_bootstrap(c))
+ if (!load_class_bootstrap(c->name))
assert(0);
if (!c->linked)