Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index 90898ba947b6f5455d99d5de1b80582b4ee18e40..668216141f7e1ff82fa2586e6a822ec2abb54abc 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -8,6 +8,7 @@ |
#include "src/compiler/instruction.h" |
#include "src/compiler/instruction-selector.h" |
#include "src/compiler/linkage.h" |
+#include "src/compiler/schedule.h" |
#include "src/macro-assembler.h" |
namespace v8 { |
@@ -142,7 +143,8 @@ class OperandGenerator { |
} |
InstructionOperand Label(BasicBlock* block) { |
- int index = sequence()->AddImmediate(Constant(block->GetRpoNumber())); |
+ int index = sequence()->AddImmediate( |
+ Constant(RpoNumber::FromInt(block->rpo_number()))); |
return ImmediateOperand(index); |
} |