Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index 0e28eed8001a524469d08a9c8dd2aa93eed7dabb..9188f7b2b0374069348f4ee2c909b35d21fa9e40 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -750,7 +750,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
OMIT_SMI_CHECK); |
// Replace receiver's backing store with newly created FixedDoubleArray. |
__ Addu(scratch1, array, Operand(kHeapObjectTag)); |
- __ sw(scratch1, FieldMemOperand(a2, JSObject::kElementsOffset)); |
+ __ sw(scratch1, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ RecordWriteField(receiver, |
JSObject::kElementsOffset, |
scratch1, |