Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 43a676c8b49241dbe8183483328b33b3c73e11dd..f9c5bdcb06488c36ac6446b75ed909fd1f9ab238 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -257,7 +257,9 @@ class LInstruction : public ZoneObject { |
// Interface to the register allocator and iterators. |
bool ClobbersTemps() const { return IsCall(); } |
bool ClobbersRegisters() const { return IsCall(); } |
- virtual bool ClobbersDoubleRegisters() const { return IsCall(); } |
+ virtual bool ClobbersDoubleRegisters(Isolate* isolate) const V8_OVERRIDE { |
+ return IsCall(); |
+ } |
virtual void SetDeferredLazyDeoptimizationEnvironment(LEnvironment* env) { } |
@@ -1965,7 +1967,7 @@ class LCallRuntime V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") |
DECLARE_HYDROGEN_ACCESSOR(CallRuntime) |
- virtual bool ClobbersDoubleRegisters() const V8_OVERRIDE { |
+ virtual bool ClobbersDoubleRegisters(Isolate* isolate) const V8_OVERRIDE { |
return save_doubles() == kDontSaveFPRegs; |
} |
@@ -2682,6 +2684,8 @@ class LChunkBuilder V8_FINAL : public LChunkBuilderBase { |
next_block_(NULL), |
allocator_(allocator) { } |
+ Isolate* isolate() const { return graph_->isolate(); } |
+ |
// Build the sequence for the graph. |
LPlatformChunk* Build(); |