hotspot/src/cpu/x86/vm/stubGenerator_x86_32.cpp
changeset 5252 58f23871a5b6
parent 5249 5cac34e6fe54
child 5419 f2e8cc8c12ea
equal deleted inserted replaced
5251:f86f7a86d761 5252:58f23871a5b6
   428 
   428 
   429     // Verify that there is really a valid exception in RAX.
   429     // Verify that there is really a valid exception in RAX.
   430     __ verify_oop(exception_oop);
   430     __ verify_oop(exception_oop);
   431 
   431 
   432     // Restore SP from BP if the exception PC is a MethodHandle call site.
   432     // Restore SP from BP if the exception PC is a MethodHandle call site.
   433     __ cmpl(Address(thread, JavaThread::is_method_handle_exception_offset()), 0);
   433     __ cmpl(Address(thread, JavaThread::is_method_handle_return_offset()), 0);
   434     __ cmovptr(Assembler::notEqual, rsp, rbp);
   434     __ cmovptr(Assembler::notEqual, rsp, rbp);
   435 
   435 
   436     // continue at exception handler (return address removed)
   436     // continue at exception handler (return address removed)
   437     // rax: exception
   437     // rax: exception
   438     // rbx: exception handler
   438     // rbx: exception handler