Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index e2e69c8f52bfa29df06422b31915f0e838f73ad2..dc490e87849a960d1104d883c76b247348f4abe1 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -4537,6 +4537,8 @@ void KeyedStoreStubCompiler::GenerateStoreFastDoubleElement( |
// Increment the length of the array. |
__ li(length_reg, Operand(Smi::FromInt(1))); |
__ sw(length_reg, FieldMemOperand(receiver_reg, JSArray::kLengthOffset)); |
+ __ lw(elements_reg, |
+ FieldMemOperand(receiver_reg, JSObject::kElementsOffset)); |
__ jmp(&finish_store); |
__ bind(&check_capacity); |