hotspot/src/cpu/x86/vm/c1_Runtime1_x86.cpp
changeset 5687 b862d1f189bd
parent 5252 58f23871a5b6
child 5695 7fbbde5b4e3e
--- a/hotspot/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Thu May 20 06:34:23 2010 -0700
+++ b/hotspot/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Fri May 21 02:59:24 2010 -0700
@@ -782,7 +782,7 @@
   // Restore SP from BP if the exception PC is a MethodHandle call site.
   NOT_LP64(__ get_thread(thread);)
   __ cmpl(Address(thread, JavaThread::is_method_handle_return_offset()), 0);
-  __ cmovptr(Assembler::notEqual, rsp, rbp);
+  __ cmovptr(Assembler::notEqual, rsp, rbp_mh_SP_save);
 
   // continue at exception handler (return address removed)
   // note: do *not* remove arguments when unwinding the