hotspot/src/cpu/x86/vm/runtime_x86_32.cpp
changeset 30305 b92a97e1e9cb
parent 14626 0cf4eccf130f
child 37248 11a660dbbb8e
--- a/hotspot/src/cpu/x86/vm/runtime_x86_32.cpp	Wed Apr 22 19:10:03 2015 +0300
+++ b/hotspot/src/cpu/x86/vm/runtime_x86_32.cpp	Mon Apr 27 10:49:43 2015 +0200
@@ -126,10 +126,6 @@
 
   // rax: exception handler for given <exception oop/exception pc>
 
-  // Restore SP from BP if the exception PC is a MethodHandle call site.
-  __ cmpl(Address(rcx, JavaThread::is_method_handle_return_offset()), 0);
-  __ cmovptr(Assembler::notEqual, rsp, rbp_mh_SP_save);
-
   // We have a handler in rax, (could be deopt blob)
   // rdx - throwing pc, deopt blob will need it.