Index: src/compiler/code-generator-impl.h |
diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h |
index 318b7e96abb3d8362f227eecf0af92be02405f79..92d3b0523f88fd7449146bafb2239c9aa1c881df 100644 |
--- a/src/compiler/code-generator-impl.h |
+++ b/src/compiler/code-generator-impl.h |
@@ -6,14 +6,9 @@ |
#define V8_COMPILER_CODE_GENERATOR_IMPL_H_ |
#include "src/compiler/code-generator.h" |
-#include "src/compiler/common-operator.h" |
-#include "src/compiler/generic-graph.h" |
#include "src/compiler/instruction.h" |
#include "src/compiler/linkage.h" |
-#include "src/compiler/machine-operator.h" |
-#include "src/compiler/node.h" |
#include "src/compiler/opcodes.h" |
-#include "src/compiler/operator.h" |
namespace v8 { |
namespace internal { |
@@ -61,12 +56,12 @@ class InstructionOperandConverter { |
} |
Label* InputLabel(int index) { |
- return gen_->code()->GetLabel(InputBlock(index)); |
+ return gen_->code()->GetLabel(InputRpo(index)); |
} |
- BasicBlock* InputBlock(int index) { |
- int block_id = InputInt32(index); |
- return gen_->schedule()->GetBlockById(BasicBlock::Id::FromInt(block_id)); |
+ BasicBlock::RpoNumber InputRpo(int index) { |
+ int rpo_number = InputInt32(index); |
+ return BasicBlock::RpoNumber::FromInt(rpo_number); |
} |
Register OutputRegister(int index = 0) { |