src/cpu/x86/vm/sharedRuntime_x86_64.cpp

changeset 1922
110501f54a99
parent 1861
2338d41fbd81
child 1934
e9ff18c4ace7
equal deleted inserted replaced
1921:9f669cf29cb0 1922:110501f54a99
3303 3303
3304 // rax: exception handler 3304 // rax: exception handler
3305 3305
3306 // Restore SP from BP if the exception PC is a MethodHandle call site. 3306 // Restore SP from BP if the exception PC is a MethodHandle call site.
3307 __ cmpl(Address(r15_thread, JavaThread::is_method_handle_return_offset()), 0); 3307 __ cmpl(Address(r15_thread, JavaThread::is_method_handle_return_offset()), 0);
3308 __ cmovptr(Assembler::notEqual, rsp, rbp); 3308 __ cmovptr(Assembler::notEqual, rsp, rbp_mh_SP_save);
3309 3309
3310 // We have a handler in rax (could be deopt blob). 3310 // We have a handler in rax (could be deopt blob).
3311 __ mov(r8, rax); 3311 __ mov(r8, rax);
3312 3312
3313 // Get the exception oop 3313 // Get the exception oop

mercurial