comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 1567:110501f54a99

6934104: JSR 292 needs to support SPARC C2 Summary: C2 for SPARC needs to support JSR 292. Reviewed-by: kvn, never
author twisti
date Tue, 25 May 2010 02:38:48 -0700
parents 2338d41fbd81
children e9ff18c4ace7
comparison
equal deleted inserted replaced
1566:9f669cf29cb0 1567: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