hotspot/src/cpu/x86/vm/c1_Runtime1_x86.cpp
changeset 5687 b862d1f189bd
parent 5252 58f23871a5b6
child 5695 7fbbde5b4e3e
equal deleted inserted replaced
5686:5435e77aa3df 5687:b862d1f189bd
   780   __ pop(exception_pc);
   780   __ pop(exception_pc);
   781 
   781 
   782   // Restore SP from BP if the exception PC is a MethodHandle call site.
   782   // Restore SP from BP if the exception PC is a MethodHandle call site.
   783   NOT_LP64(__ get_thread(thread);)
   783   NOT_LP64(__ get_thread(thread);)
   784   __ cmpl(Address(thread, JavaThread::is_method_handle_return_offset()), 0);
   784   __ cmpl(Address(thread, JavaThread::is_method_handle_return_offset()), 0);
   785   __ cmovptr(Assembler::notEqual, rsp, rbp);
   785   __ cmovptr(Assembler::notEqual, rsp, rbp_mh_SP_save);
   786 
   786 
   787   // continue at exception handler (return address removed)
   787   // continue at exception handler (return address removed)
   788   // note: do *not* remove arguments when unwinding the
   788   // note: do *not* remove arguments when unwinding the
   789   //       activation since the caller assumes having
   789   //       activation since the caller assumes having
   790   //       all arguments on the stack when entering the
   790   //       all arguments on the stack when entering the