Index: src/compiler/js-builtin-reducer.cc |
diff --git a/src/compiler/js-builtin-reducer.cc b/src/compiler/js-builtin-reducer.cc |
index e45a85cd5c70c78b6cb770164d4c5161ef6ab625..bf72ca47302545484b5bef10b88627210a6daa63 100644 |
--- a/src/compiler/js-builtin-reducer.cc |
+++ b/src/compiler/js-builtin-reducer.cc |
@@ -307,6 +307,7 @@ Reduction JSBuiltinReducer::ReduceArrayIterator(Handle<Map> receiver_map, |
Node* value = effect = graph()->NewNode( |
simplified()->Allocate(NOT_TENURED), |
jsgraph()->Constant(JSArrayIterator::kSize), effect, control); |
+ NodeProperties::SetType(value, Type::OtherObject()); |
effect = graph()->NewNode(simplified()->StoreField(AccessBuilder::ForMap()), |
value, jsgraph()->Constant(map), effect, control); |
effect = graph()->NewNode( |
@@ -1743,6 +1744,7 @@ Reduction JSBuiltinReducer::ReduceStringIterator(Node* node) { |
Node* value = effect = graph()->NewNode( |
simplified()->Allocate(NOT_TENURED), |
jsgraph()->Constant(JSStringIterator::kSize), effect, control); |
+ NodeProperties::SetType(value, Type::OtherObject()); |
effect = graph()->NewNode(simplified()->StoreField(AccessBuilder::ForMap()), |
value, map, effect, control); |
effect = graph()->NewNode( |