Index: src/compiler/js-builtin-reducer.cc |
diff --git a/src/compiler/js-builtin-reducer.cc b/src/compiler/js-builtin-reducer.cc |
index edf63ba262d55b2afb7dbd2b42886ba83b5b38d2..8b19afb0da0a59ba2bbe1fb4d0c15bcddf8f55e7 100644 |
--- a/src/compiler/js-builtin-reducer.cc |
+++ b/src/compiler/js-builtin-reducer.cc |
@@ -1047,7 +1047,7 @@ Reduction JSBuiltinReducer::ReduceStringIterator(Node* node) { |
common()->BeginRegion(RegionObservability::kNotObservable), effect); |
Node* value = effect = graph()->NewNode( |
simplified()->Allocate(NOT_TENURED), |
- jsgraph()->Int32Constant(JSStringIterator::kSize), effect, control); |
+ jsgraph()->Constant(JSStringIterator::kSize), effect, control); |
effect = graph()->NewNode(simplified()->StoreField(AccessBuilder::ForMap()), |
value, map, effect, control); |
effect = graph()->NewNode( |