[aarch64-port-dev ] Do not use r0 as a scratch register
Andrew Haley
aph at redhat.com
Thu Jul 18 07:14:58 PDT 2013
I will now write my lines:
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
r0 is not a scratch register
Andrew.
# HG changeset patch
# User aph
# Date 1374156793 -3600
# Node ID 7ddc396907b4de2648e018a0ec69140691420fd6
# Parent a305c2e430220494cc653b2f17c602cb3cf9784a
Do not use r0 as a scratch register
diff -r a305c2e43022 -r 7ddc396907b4 src/cpu/aarch64/vm/vtableStubs_aarch64.cpp
--- a/src/cpu/aarch64/vm/vtableStubs_aarch64.cpp Tue Jul 16 16:16:46 2013 +0100
+++ b/src/cpu/aarch64/vm/vtableStubs_aarch64.cpp Thu Jul 18 15:13:13 2013 +0100
@@ -67,7 +67,7 @@
// get receiver klass
address npe_addr = __ pc();
- __ load_klass(r0, j_rarg0);
+ __ load_klass(r19, j_rarg0);
#ifndef PRODUCT
if (DebugVtables) {
@@ -83,7 +83,7 @@
}
#endif // PRODUCT
- __ lookup_virtual_method(r0, vtable_index, rmethod);
+ __ lookup_virtual_method(r19, vtable_index, rmethod);
if (DebugVtables) {
Label L;
More information about the aarch64-port-dev
mailing list