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

Unified Diff: runtime/vm/assembler_x64_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_test.cc ('k') | runtime/vm/simulator_arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_x64_test.cc
diff --git a/runtime/vm/assembler_x64_test.cc b/runtime/vm/assembler_x64_test.cc
index cd9960380cdb699c7e3eeb29024fbb9c7f77147a..5a14bc1a3cb74835625374315f620d0bf9963716 100644
--- a/runtime/vm/assembler_x64_test.cc
+++ b/runtime/vm/assembler_x64_test.cc
@@ -3309,14 +3309,11 @@ ASSEMBLER_TEST_GENERATE(StoreIntoObject, assembler) {
__ pushq(PP); // Save caller's pool pointer and load a new one here.
__ LoadPoolPointer();
__ pushq(THR);
- __ movq(THR, CallingConventions::kArg4Reg);
- __ pushq(CTX);
- __ movq(CTX, CallingConventions::kArg1Reg);
- __ StoreIntoObject(CallingConventions::kArg3Reg,
- FieldAddress(CallingConventions::kArg3Reg,
+ __ movq(THR, CallingConventions::kArg3Reg);
+ __ StoreIntoObject(CallingConventions::kArg2Reg,
+ FieldAddress(CallingConventions::kArg2Reg,
GrowableObjectArray::data_offset()),
- CallingConventions::kArg2Reg);
- __ popq(CTX);
+ CallingConventions::kArg1Reg);
__ popq(THR);
__ popq(PP); // Restore caller's pool pointer.
__ ret();
« no previous file with comments | « runtime/vm/assembler_test.cc ('k') | runtime/vm/simulator_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698