equal
deleted
inserted
replaced
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 |