Index: src/compiler/representation-change.h |
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h |
index 5e7a8d04c687fe8152a92e2484d9c20336e23e4d..e4c257f2ea4bbef34adae3fec268785d5a892c27 100644 |
--- a/src/compiler/representation-change.h |
+++ b/src/compiler/representation-change.h |
@@ -294,7 +294,7 @@ class RepresentationChanger { |
case IrOpcode::kInt32Constant: { |
int32_t value = OpParameter<int32_t>(node); |
if (value == 0 || value == 1) return node; |
- return jsgraph()->OneConstant(); // value != 0 |
+ return jsgraph()->Int32Constant(1); // value != 0 |
} |
case IrOpcode::kHeapConstant: { |
Handle<Object> handle = OpParameter<Unique<Object> >(node).handle(); |