summaryrefslogtreecommitdiffstats
path: root/libjava/interpret.cc
diff options
context:
space:
mode:
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 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;
OpenPOWER on IntegriCloud