Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 4c637e8e8ad2cf2a17595bfc9634c9fc3780a49d..222248bfe4b026668044f94de3de44e322dc4660 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -234,7 +234,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) { } |
@@ -1942,7 +1944,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; |
} |
@@ -2659,6 +2661,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(); |