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

Unified Diff: runtime/vm/assembler_arm_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 | « runtime/vm/assembler_arm64_test.cc ('k') | runtime/vm/assembler_ia32_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm_test.cc
diff --git a/runtime/vm/assembler_arm_test.cc b/runtime/vm/assembler_arm_test.cc
index 2cc40fdeb9a0c1b4ad65cbd1986ef3b12823473c..dd532353f2bd6e8d0368ab4776a69cbc2dd5a280 100644
--- a/runtime/vm/assembler_arm_test.cc
+++ b/runtime/vm/assembler_arm_test.cc
@@ -3928,18 +3928,16 @@ ASSEMBLER_TEST_RUN(Vnegqs, 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) {
- __ PushList((1 << CTX) | (1 << LR) | (1 << THR));
- __ mov(CTX, Operand(R0));
- __ mov(THR, Operand(R3));
- __ StoreIntoObject(R2,
- FieldAddress(R2, GrowableObjectArray::data_offset()),
- R1);
- __ PopList((1 << CTX) | (1 << LR) | (1 << THR));
+ __ PushList((1 << LR) | (1 << THR));
+ __ mov(THR, Operand(R2));
+ __ StoreIntoObject(R1,
+ FieldAddress(R1, GrowableObjectArray::data_offset()),
+ R0);
+ __ PopList((1 << LR) | (1 << THR));
__ Ret();
}
« no previous file with comments | « runtime/vm/assembler_arm64_test.cc ('k') | runtime/vm/assembler_ia32_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698