Index: runtime/vm/assembler_mips_test.cc |
diff --git a/runtime/vm/assembler_mips_test.cc b/runtime/vm/assembler_mips_test.cc |
index 552aa601f4d2a41129c4d4663d5188d44819cf35..ec943509e093cef8b83eed8ac6cbc6ed486374f6 100644 |
--- a/runtime/vm/assembler_mips_test.cc |
+++ b/runtime/vm/assembler_mips_test.cc |
@@ -2087,8 +2087,7 @@ ASSEMBLER_TEST_RUN(Cop1CvtSD, test) { |
// A1: growable array. |
// A2: current thread. |
ASSEMBLER_TEST_GENERATE(StoreIntoObject, assembler) { |
- __ addiu(SP, SP, Immediate(-3 * kWordSize)); |
- __ sw(CODE_REG, Address(SP, 2 * kWordSize)); |
+ __ addiu(SP, SP, Immediate(-2 * kWordSize)); |
__ sw(THR, Address(SP, 1 * kWordSize)); |
__ sw(RA, Address(SP, 0 * kWordSize)); |
__ mov(THR, A2); |
@@ -2097,8 +2096,7 @@ ASSEMBLER_TEST_GENERATE(StoreIntoObject, assembler) { |
A0); |
__ lw(RA, Address(SP, 0 * kWordSize)); |
__ lw(THR, Address(SP, 1 * kWordSize)); |
- __ lw(CODE_REG, Address(SP, 2 * kWordSize)); |
- __ addiu(SP, SP, Immediate(3 * kWordSize)); |
+ __ addiu(SP, SP, Immediate(2 * kWordSize)); |
__ Ret(); |
} |