--- a/hotspot/src/cpu/zero/vm/methodHandles_zero.hpp Fri Oct 26 14:18:57 2012 -0700
+++ b/hotspot/src/cpu/zero/vm/methodHandles_zero.hpp Mon Oct 29 11:08:48 2012 -0700
@@ -26,6 +26,14 @@
// Adapters
enum /* platform_dependent_constants */ {
- adapter_code_size = 0
+ adapter_code_size = sizeof(ZeroEntry) * (Interpreter::method_handle_invoke_LAST - Interpreter::method_handle_invoke_FIRST + 1)
};
+private:
+ static oop popFromStack(TRAPS);
+ static void invoke_target(Method* method, TRAPS);
+ static int method_handle_entry_invokeBasic(Method* method, intptr_t UNUSED, TRAPS);
+ static int method_handle_entry_linkToStaticOrSpecial(Method* method, intptr_t UNUSED, TRAPS);
+ static int method_handle_entry_linkToVirtual(Method* method, intptr_t UNUSED, TRAPS);
+ static int method_handle_entry_linkToInterface(Method* method, intptr_t UNUSED, TRAPS);
+ static int method_handle_entry_invalid(Method* method, intptr_t UNUSED, TRAPS);