Index: src/crankshaft/arm/lithium-arm.h |
diff --git a/src/crankshaft/arm/lithium-arm.h b/src/crankshaft/arm/lithium-arm.h |
index 8db5c0215d11b0621530142622ed8746300b97ba..1b77749f2cbb88072f6c184cda346278a1634a2e 100644 |
--- a/src/crankshaft/arm/lithium-arm.h |
+++ b/src/crankshaft/arm/lithium-arm.h |
@@ -233,7 +233,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. |