Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Unified Diff: runtime/vm/assembler_arm64_test.cc

Issue 1272223002: VM: Simplify assembler test by removing unused parameter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/assembler_arm_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64_test.cc
diff --git a/runtime/vm/assembler_arm64_test.cc b/runtime/vm/assembler_arm64_test.cc
index 6fb9822ceacde948c7210fa5c5744c81e77b284b..518eea381b7ff510667b97e1bbaa609d9f133125 100644
--- a/runtime/vm/assembler_arm64_test.cc
+++ b/runtime/vm/assembler_arm64_test.cc
@@ -3570,24 +3570,20 @@ ASSEMBLER_TEST_RUN(ReciprocalSqrt, test) {
// Called from assembler_test.cc.
// LR: return address.
-// R0: context.
-// R1: value.
-// R2: growable array.
-// R3: current thread.
+// R0: value.
+// R1: growable array.
+// R2: current thread.
ASSEMBLER_TEST_GENERATE(StoreIntoObject, assembler) {
__ SetupDartSP(kTestStackSpace);
__ TagAndPushPP();
__ LoadPoolPointer();
__ Push(THR);
- __ Push(CTX);
__ Push(LR);
- __ mov(CTX, R0);
- __ mov(THR, R3);
- __ StoreIntoObject(R2,
- FieldAddress(R2, GrowableObjectArray::data_offset()),
- R1);
+ __ mov(THR, R2);
+ __ StoreIntoObject(R1,
+ FieldAddress(R1, GrowableObjectArray::data_offset()),
+ R0);
__ Pop(LR);
- __ Pop(CTX);
__ Pop(THR);
__ PopAndUntagPP();
__ mov(CSP, SP);
« no previous file with comments | « no previous file | runtime/vm/assembler_arm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698