Index: src/compiler/opcodes.h |
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h |
index 9422ffaf3c1aeb9027530c0f8e94739a25b606dc..31768263dfee70d4e27cc1d006fe864abcf8bd0e 100644 |
--- a/src/compiler/opcodes.h |
+++ b/src/compiler/opcodes.h |
@@ -32,16 +32,14 @@ |
V(End) |
// Opcodes for constant operators. |
-#define CONSTANT_OP_LIST(V) \ |
- V(Int32Constant) \ |
- V(Int64Constant) \ |
- V(Float32Constant) \ |
- V(Float64Constant) \ |
- V(ExternalConstant) \ |
- V(NumberConstant) \ |
- V(HeapConstant) \ |
- V(RelocatableInt32Constant) \ |
- V(RelocatableInt64Constant) |
+#define CONSTANT_OP_LIST(V) \ |
+ V(Int32Constant) \ |
+ V(Int64Constant) \ |
+ V(Float32Constant) \ |
+ V(Float64Constant) \ |
+ V(ExternalConstant) \ |
+ V(NumberConstant) \ |
+ V(HeapConstant) |
#define INNER_OP_LIST(V) \ |
V(Select) \ |
@@ -397,7 +395,7 @@ |
// Returns true if opcode for constant operator. |
static bool IsConstantOpcode(Value value) { |
- return kInt32Constant <= value && value <= kRelocatableInt64Constant; |
+ return kInt32Constant <= value && value <= kHeapConstant; |
} |
static bool IsPhiOpcode(Value value) { |