diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-21 16:59:12 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-21 16:59:12 +0000 |
commit | 67577e43ece0812b968fd949d8c890e880fc6668 (patch) | |
tree | 8a0b15f8ae55ff04e4e9997580f5dcc5bbc78ec7 /libjava/interpret.cc | |
parent | 6bfa2cc1b1757ca919c796642fcb4ee2d7fe7fa7 (diff) | |
download | gcc-67577e43ece0812b968fd949d8c890e880fc6668.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45734 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/interpret.cc')
-rw-r--r-- | libjava/interpret.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/interpret.cc b/libjava/interpret.cc index b121a1b7ebb..42c342a3281 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; |