Index: src/compiler/instruction-selector.h |
diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h |
index b8354fcfd1e2aa07bcda1337c1c18687fe444a41..a038f13a9068d69fadbb10c5a8e6b7d370af2181 100644 |
--- a/src/compiler/instruction-selector.h |
+++ b/src/compiler/instruction-selector.h |
@@ -9,6 +9,7 @@ |
#include "src/compiler/common-operator.h" |
#include "src/compiler/instruction.h" |
+#include "src/compiler/instruction-scheduler.h" |
#include "src/compiler/machine-operator.h" |
#include "src/compiler/node.h" |
#include "src/zone-containers.h" |
@@ -46,6 +47,10 @@ class InstructionSelector final { |
// Visit code for the entire graph with the included schedule. |
void SelectInstructions(); |
+ void StartBlock(RpoNumber rpo); |
+ void EndBlock(RpoNumber rpo); |
+ void AddInstruction(Instruction* instr); |
+ |
// =========================================================================== |
// ============= Architecture-independent code emission methods. ============= |
// =========================================================================== |
@@ -238,6 +243,7 @@ class InstructionSelector final { |
BoolVector defined_; |
BoolVector used_; |
IntVector virtual_registers_; |
+ InstructionScheduler* scheduler_; |
}; |
} // namespace compiler |