1.1 --- a/src/cpu/x86/vm/methodHandles_x86.cpp Mon Aug 08 05:49:04 2011 -0700 1.2 +++ b/src/cpu/x86/vm/methodHandles_x86.cpp Mon Aug 08 13:19:46 2011 -0700 1.3 @@ -1192,11 +1192,11 @@ 1.4 const int jobject_oop_offset = 0; 1.5 __ movptr(rbx_method, Address(rbx_method, jobject_oop_offset)); // dereference the jobject 1.6 1.7 - __ movptr(rsi, rsp); 1.8 + __ movptr(saved_last_sp, rsp); 1.9 __ subptr(rsp, 3 * wordSize); 1.10 __ push(rax_pc); // restore caller PC 1.11 1.12 - __ movptr(__ argument_address(constant(2)), rarg0_code); 1.13 + __ movl (__ argument_address(constant(2)), rarg0_code); 1.14 __ movptr(__ argument_address(constant(1)), rarg1_actual); 1.15 __ movptr(__ argument_address(constant(0)), rarg2_required); 1.16 jump_from_method_handle(_masm, rbx_method, rax);