1.1 --- a/src/cpu/x86/vm/methodHandles_x86.hpp Thu Jun 02 13:36:11 2011 -0700 1.2 +++ b/src/cpu/x86/vm/methodHandles_x86.hpp Fri Jun 03 22:31:43 2011 -0700 1.3 @@ -25,6 +25,11 @@ 1.4 // Platform-specific definitions for method handles. 1.5 // These definitions are inlined into class MethodHandles. 1.6 1.7 +// Adapters 1.8 +enum /* platform_dependent_constants */ { 1.9 + adapter_code_size = NOT_LP64(30000 DEBUG_ONLY(+ 10000)) LP64_ONLY(80000 DEBUG_ONLY(+ 120000)) 1.10 +}; 1.11 + 1.12 public: 1.13 1.14 // The stack just after the recursive call from a ricochet frame 1.15 @@ -188,7 +193,9 @@ 1.16 1.17 static void generate_ricochet_blob(MacroAssembler* _masm, 1.18 // output params: 1.19 - int* frame_size_in_words, int* bounce_offset, int* exception_offset); 1.20 + int* bounce_offset, 1.21 + int* exception_offset, 1.22 + int* frame_size_in_words); 1.23 1.24 static void enter_ricochet_frame(MacroAssembler* _masm, 1.25 Register rcx_recv,