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

Unified Diff: src/compiler/instruction-selector.h

Issue 664123002: [turbofan] cleanup InstructionSequence (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
Index: src/compiler/instruction-selector.h
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h
index 6d00b0464d3d05dd8e916eb61aa71fcf2d9737c3..910d7e28c07774c71211b74209dc4f62518b12d9 100644
--- a/src/compiler/instruction-selector.h
+++ b/src/compiler/instruction-selector.h
@@ -25,8 +25,8 @@ class InstructionSelector FINAL {
// Forward declarations.
class Features;
- InstructionSelector(InstructionSequence* sequence, Schedule* schedule,
- SourcePositionTable* source_positions,
+ InstructionSelector(Linkage* linkage, InstructionSequence* sequence,
+ Schedule* schedule, SourcePositionTable* source_positions,
Features features = SupportedFeatures());
// Visit code for the entire graph with the included schedule.
@@ -183,8 +183,8 @@ class InstructionSelector FINAL {
// ===========================================================================
- Linkage* linkage() const { return sequence()->linkage(); }
Schedule* schedule() const { return schedule_; }
+ Linkage* linkage() const { return linkage_; }
InstructionSequence* sequence() const { return sequence_; }
Zone* instruction_zone() const { return sequence()->zone(); }
Zone* zone() { return &zone_; }
@@ -192,6 +192,7 @@ class InstructionSelector FINAL {
// ===========================================================================
Zone zone_;
+ Linkage* linkage_;
Benedikt Meurer 2014/10/21 04:12:04 Nit: Linkage* const linkage_;
InstructionSequence* sequence_;
SourcePositionTable* source_positions_;
Features features_;

Powered by Google App Engine
This is Rietveld 408576698