Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index b860bc5187130ced1ef8329036c7c78bfa5ed299..ac7c48698f94c8e5b147e0d7e4362a6472f62df3 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -5,6 +5,7 @@ |
#ifndef V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ |
#define V8_COMPILER_INSTRUCTION_SELECTOR_IMPL_H_ |
+#include "src/compiler/generic-node-inl.h" |
#include "src/compiler/instruction.h" |
#include "src/compiler/instruction-selector.h" |
#include "src/compiler/linkage.h" |
@@ -129,7 +130,7 @@ class OperandGenerator { |
InstructionOperand* Label(BasicBlock* block) { |
// TODO(bmeurer): We misuse ImmediateOperand here. |
- return TempImmediate(block->id()); |
+ return TempImmediate(block->id().ToInt()); |
} |
protected: |