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(); |