diff options
author | aph <none@none> | 2013-08-12 17:49:56 +0100 |
---|---|---|
committer | aph <none@none> | 2013-08-12 17:49:56 +0100 |
commit | 61764799eb1dd631e1ac30ffe31c60668983a221 (patch) | |
tree | 0c7bfddec894e72208642898f0bc91864e99867b | |
parent | 29a8cacdf6b127a87c39578ebb8e3eb074ac108f (diff) |
Delete bogus stack pointer adjustmentaarch64-20130813
-rw-r--r-- | src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp b/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp index ef7add59e..743147317 100644 --- a/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp +++ b/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp @@ -2132,10 +2132,7 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm, } __ lea(c_rarg1, Address(sp, lock_slot_offset * VMRegImpl::stack_slot_size)); - __ mov(c_rarg0, obj_reg); - __ mov(r20, sp); // remember sp - __ andr(sp, rscratch1, -16); // align stack as required by ABI // Save pending exception around call to VM (which contains an EXCEPTION_MARK) // NOTE that obj_reg == r19 currently @@ -2143,7 +2140,7 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm, __ str(zr, Address(rthread, in_bytes(Thread::pending_exception_offset()))); rt_call(masm, CAST_FROM_FN_PTR(address, SharedRuntime::complete_monitor_unlocking_C), 2, 0, 1); - __ mov(sp, r20); // restore sp + #ifdef ASSERT { Label L; |