Chromium Code Reviews| Index: src/crankshaft/x64/lithium-x64.h |
| diff --git a/src/crankshaft/x64/lithium-x64.h b/src/crankshaft/x64/lithium-x64.h |
| index c5322633af70b4853b951252c9183fd8f74b061d..2e7a9c382b009aad7638ea70fa36abb34ca46d7f 100644 |
| --- a/src/crankshaft/x64/lithium-x64.h |
| +++ b/src/crankshaft/x64/lithium-x64.h |
| @@ -232,7 +232,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; |
|
Benedikt Meurer
2016/08/05 04:35:21
I guess since this is virtual, the proper way to d
|
| } |
| // Interface to the register allocator and iterators. |