aboutsummaryrefslogtreecommitdiff
path: root/libjava/interpret.cc
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2001-09-21 09:59:12 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-09-21 09:59:12 -0700
commitf5ddf15465053a1e7e764e896405bf6ff6756e89 (patch)
tree8a0b15f8ae55ff04e4e9997580f5dcc5bbc78ec7 /libjava/interpret.cc
parent6723181663a87a735bdfdf2e16a6bd41dbc30be1 (diff)
downloadgcc-f5ddf15465053a1e7e764e896405bf6ff6756e89.zip
gcc-f5ddf15465053a1e7e764e896405bf6ff6756e89.tar.gz
gcc-f5ddf15465053a1e7e764e896405bf6ff6756e89.tar.bz2
jvm.h (_Jv_VTable): Handle function descriptors for ia64...
* include/jvm.h (_Jv_VTable): Handle function descriptors for ia64; add get_method, set_method, vtable_elt_size, new_vtable. (_Jv_ArrayVTable): Derive from _Jv_VTable. * resolve.cc (_Jv_PrepareClass): Use new _Jv_VTable methods. * interpret.cc (_Jv_InterpMethod::continue1): Likewise. * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Likewise. From-SVN: r45734
Diffstat (limited to 'libjava/interpret.cc')
-rw-r--r--libjava/interpret.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/interpret.cc b/libjava/interpret.cc
index b121a1b..42c342a 100644
--- a/libjava/interpret.cc
+++ b/libjava/interpret.cc
@@ -691,7 +691,7 @@ void _Jv_InterpMethod::continue1 (_Jv_InterpMethodInvocation *inv)
{
jobject rcv = sp[0].o;
_Jv_VTable *table = *(_Jv_VTable**)rcv;
- fun = (void (*)()) table->method[rmeth->vtable_index];
+ fun = (void (*)()) table->get_method(rmeth->vtable_index);
}
}
goto perform_invoke;