Index: src/crankshaft/mips/lithium-mips.h |
diff --git a/src/crankshaft/mips/lithium-mips.h b/src/crankshaft/mips/lithium-mips.h |
index a32e362f186ca16fe6c5ea0916f50629041c07af..2042c1de1c0ecf787be50c41486fa96bd195a479 100644 |
--- a/src/crankshaft/mips/lithium-mips.h |
+++ b/src/crankshaft/mips/lithium-mips.h |
@@ -231,7 +231,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. |