[aarch64-port-dev ] RFR: Fix register misuse in verify_method_data_pointer
Edward Nevill
edward.nevill at linaro.org
Tue Jun 10 15:32:15 UTC 2014
Hi,
verify_method_data_pointer uses the wrong register for the byte code pointer. It uses r13 instead of r22.
Patched as follows,
Ed.
--- CUT HERE ---
# HG changeset patch
# User Edward Nevill edward.nevill at linaro.org
# Date 1402414194 -3600
# Tue Jun 10 16:29:54 2014 +0100
# Node ID da667774b01260ffec72183dade656aa338bc583
# Parent 8cb098504801769e6c53eec016a1767b0aa59c79
Fix register misuse in verify_method_data_pointer
diff -r 8cb098504801 -r da667774b012 src/cpu/aarch64/vm/interp_masm_aarch64.cpp
--- a/src/cpu/aarch64/vm/interp_masm_aarch64.cpp Thu Jun 05 13:48:13 2014 +0100
+++ b/src/cpu/aarch64/vm/interp_masm_aarch64.cpp Tue Jun 10 16:29:54 2014 +0100
@@ -803,10 +803,10 @@
cmp(r2, rbcp);
br(Assembler::EQ, verify_continue);
// r1: method
- // r13: bcp
+ // rbcp: bcp // rbcp == 22
// r3: mdp
call_VM_leaf(CAST_FROM_FN_PTR(address, InterpreterRuntime::verify_mdp),
- r1, r13, r3);
+ r1, rbcp, r3);
bind(verify_continue);
ldp(r2, r3, Address(post(sp, 2 * wordSize)));
ldp(r0, r1, Address(post(sp, 2 * wordSize)));
--- CUT HERE ---
More information about the aarch64-port-dev
mailing list