Mercurial > hg > icedtea8-forest > hotspot
changeset 6961:33029403ab59 preview_rc2
Restore LR for use by C2 runtime
author | aph |
---|---|
date | Thu, 17 Oct 2013 18:49:40 +0100 |
parents | b0ade87641c2 |
children | c04eaee39c1b |
files | src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp Thu Oct 17 16:46:49 2013 +0100 +++ b/src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp Thu Oct 17 18:49:40 2013 +0100 @@ -509,7 +509,8 @@ // get throwing pc (= return address). // lr has been destroyed by the call - __ ldp(r3, exception_oop, Address(__ post(sp, 2 * wordSize))); + __ ldp(lr, exception_oop, Address(__ post(sp, 2 * wordSize))); + __ mov(r3, lr); __ verify_not_null_oop(exception_oop);