Revision: 24727
Author:   [email protected]
Date:     Mon Oct 20 10:57:37 2014 UTC
Log:      [turbofan] fix build after r24726

[email protected]

BUG=

Review URL: https://codereview.chromium.org/669643002
https://code.google.com/p/v8/source/detail?r=24727

Modified:
 /branches/bleeding_edge/src/compiler/instruction.cc
 /branches/bleeding_edge/src/compiler/instruction.h

=======================================
--- /branches/bleeding_edge/src/compiler/instruction.cc Mon Oct 20 10:19:15 2014 UTC +++ /branches/bleeding_edge/src/compiler/instruction.cc Mon Oct 20 10:57:37 2014 UTC
@@ -382,7 +382,7 @@

InstructionSequence::InstructionSequence(Linkage* linkage, const Graph* graph,
                                          const Schedule* schedule)
-    : zone_(graph->zone()->isolate()),
+    : zone_(schedule->zone()),
       node_count_(graph->NodeCount()),
       node_map_(zone()->NewArray<int>(node_count_)),
instruction_blocks_(static_cast<int>(schedule->rpo_order()->size()), NULL,
=======================================
--- /branches/bleeding_edge/src/compiler/instruction.h Mon Oct 20 10:19:15 2014 UTC +++ /branches/bleeding_edge/src/compiler/instruction.h Mon Oct 20 10:57:37 2014 UTC
@@ -905,10 +905,10 @@
   }

   Frame* frame() { return &frame_; }
-  Isolate* isolate() { return zone()->isolate(); }
+  Isolate* isolate() const { return zone()->isolate(); }
   Linkage* linkage() const { return linkage_; }
   const PointerMapDeque* pointer_maps() const { return &pointer_maps_; }
-  Zone* zone() { return &zone_; }
+  Zone* zone() const { return zone_; }

   // Used by the instruction selector while adding instructions.
   int AddInstruction(Instruction* instr);
@@ -962,7 +962,7 @@

typedef std::set<int, std::less<int>, ZoneIntAllocator> VirtualRegisterSet;

-  Zone zone_;
+  Zone* zone_;
   int node_count_;
   int* node_map_;
   InstructionBlocks instruction_blocks_;

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to