Mercurial > hg > truffle
comparison src/cpu/x86/vm/c1_Runtime1_x86.cpp @ 1564:61b2245abf36
6930772: JSR 292 needs to support SPARC C1
Summary: C1 for SPARC needs to support JSR 292.
Reviewed-by: never, jrose
author | twisti |
---|---|
date | Fri, 21 May 2010 02:59:24 -0700 |
parents | 93767e6a2dfd |
children | 87fc6aca31ab |
comparison
equal
deleted
inserted
replaced
1563:1a5913bf5e19 | 1564:61b2245abf36 |
---|---|
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 |