Index: src/crankshaft/ia32/lithium-ia32.h |
diff --git a/src/crankshaft/ia32/lithium-ia32.h b/src/crankshaft/ia32/lithium-ia32.h |
index b3e0c4a43eb0096eeeb58a0d4a708dcb0efec5aa..85c7e816b076fcce9e6d6c54569ac10c51755dcf 100644 |
--- a/src/crankshaft/ia32/lithium-ia32.h |
+++ b/src/crankshaft/ia32/lithium-ia32.h |
@@ -236,7 +236,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; |
} |
virtual bool HasResult() const = 0; |