Index: src/crankshaft/mips64/lithium-mips64.h |
diff --git a/src/crankshaft/mips64/lithium-mips64.h b/src/crankshaft/mips64/lithium-mips64.h |
index 91da1768c05e40397cce56be4d743126da9c3bb4..d229e239673769470eca7d9eab3264051dd94383 100644 |
--- a/src/crankshaft/mips64/lithium-mips64.h |
+++ b/src/crankshaft/mips64/lithium-mips64.h |
@@ -234,7 +234,7 @@ class LInstruction : public ZoneObject { |
bool ClobbersTemps() const { return IsCall(); } |
bool ClobbersRegisters() const { return IsCall(); } |
virtual bool ClobbersDoubleRegisters(Isolate* isolate) const { |
- return IsCall(); |
+ return IsCall() || opcode() == LInstruction::kMaybeGrowElements; |
} |
// Interface to the register allocator and iterators. |