Index: src/mips64/codegen-mips64.cc |
diff --git a/src/mips64/codegen-mips64.cc b/src/mips64/codegen-mips64.cc |
index fa0a2dba565467e0c22d7b38da3e5d64dd078bc5..05a193c51797709c69afd9bc9e7b5ceed63c76d6 100644 |
--- a/src/mips64/codegen-mips64.cc |
+++ b/src/mips64/codegen-mips64.cc |
@@ -643,7 +643,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
OMIT_SMI_CHECK); |
// Replace receiver's backing store with newly created FixedDoubleArray. |
__ Daddu(scratch1, array, Operand(kHeapObjectTag)); |
- __ sd(scratch1, FieldMemOperand(a2, JSObject::kElementsOffset)); |
+ __ sd(scratch1, FieldMemOperand(receiver, JSObject::kElementsOffset)); |
__ RecordWriteField(receiver, |
JSObject::kElementsOffset, |
scratch1, |