Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: src/compiler/instruction.h

Issue 669643002: [turbofan] fix build after r24726 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/instruction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.h
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
index de73ed2f852a1206bebeec9c6a16cd8d0fecbc72..c3e83fa44c5d03aaa3d07a81daea863f74edffed 100644
--- a/src/compiler/instruction.h
+++ b/src/compiler/instruction.h
@@ -905,10 +905,10 @@ class InstructionSequence FINAL {
}
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 @@ class InstructionSequence FINAL {
typedef std::set<int, std::less<int>, ZoneIntAllocator> VirtualRegisterSet;
- Zone zone_;
+ Zone* zone_;
int node_count_;
int* node_map_;
InstructionBlocks instruction_blocks_;
« no previous file with comments | « no previous file | src/compiler/instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698