hotspot/src/cpu/x86/vm/templateTable_x86_64.cpp
changeset 21520 9f3ba7e1ed5c
parent 21515 ec29f0abf481
parent 21198 dd647e8d1d72
child 22741 13fdeb7d7aad
--- a/hotspot/src/cpu/x86/vm/templateTable_x86_64.cpp	Thu Oct 31 14:11:02 2013 -0400
+++ b/hotspot/src/cpu/x86/vm/templateTable_x86_64.cpp	Fri Nov 01 15:56:06 2013 +0100
@@ -2984,9 +2984,7 @@
   ConstantPoolCacheEntry::verify_tos_state_shift();
   // load return address
   {
-    const address table_addr = (is_invokeinterface || is_invokedynamic) ?
-        (address)Interpreter::return_5_addrs_by_index_table() :
-        (address)Interpreter::return_3_addrs_by_index_table();
+    const address table_addr = (address) Interpreter::invoke_return_entry_table_for(code);
     ExternalAddress table(table_addr);
     __ lea(rscratch1, table);
     __ movptr(flags, Address(rscratch1, flags, Address::times_ptr));