Index: src/compiler/opcodes.h |
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h |
index 37843f34d2be6aa076ca7b9a34543a591d5ef174..99ab119c24db17ee1deed59455e80d3bf5d12b53 100644 |
--- a/src/compiler/opcodes.h |
+++ b/src/compiler/opcodes.h |
@@ -32,14 +32,16 @@ |
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) |
+#define CONSTANT_OP_LIST(V) \ |
+ V(Int32Constant) \ |
+ V(Int64Constant) \ |
+ V(Float32Constant) \ |
+ V(Float64Constant) \ |
+ V(ExternalConstant) \ |
+ V(NumberConstant) \ |
+ V(HeapConstant) \ |
+ V(RelocatableInt32Constant) \ |
+ V(RelocatableInt64Constant) |
#define INNER_OP_LIST(V) \ |
V(Select) \ |
@@ -389,7 +391,7 @@ class IrOpcode { |
// Returns true if opcode for constant operator. |
static bool IsConstantOpcode(Value value) { |
- return kInt32Constant <= value && value <= kHeapConstant; |
+ return kInt32Constant <= value && value <= kRelocatableInt64Constant; |
} |
static bool IsPhiOpcode(Value value) { |