* resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout.

From-SVN: r45988
This commit is contained in:
Bryce McKinlay 2001-10-03 07:54:34 +00:00 committed by Bryce McKinlay
parent caa3f65c76
commit 8b6013ad43
2 changed files with 6 additions and 2 deletions

View file

@ -732,9 +732,9 @@ _Jv_PrepareClass(jclass klass)
throw_internal_error ("vtable problem...");
if (clz->interpreted_methods[i] == 0)
vtable->set_method(i, (void*)&_Jv_abstractMethodError);
vtable->set_method(index, (void*)&_Jv_abstractMethodError);
else
vtable->set_method(i, this_meth->ncode);
vtable->set_method(index, this_meth->ncode);
}
}