Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index d752ffd0e0a931d882a1d08d3278d7a26e2467f1..dc36c6067b146199d8c61976a80975f46aedddf2 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -712,9 +712,8 @@ Reduction JSTypedLowering::ReduceCreateConsString(Node* node) { |
effect = graph()->NewNode( |
common()->BeginRegion(RegionObservability::kNotObservable), effect); |
Node* value = effect = |
- graph()->NewNode(simplified()->Allocate(NOT_TENURED), |
+ graph()->NewNode(simplified()->Allocate(Type::OtherString(), NOT_TENURED), |
jsgraph()->Constant(ConsString::kSize), effect, control); |
- NodeProperties::SetType(value, Type::OtherString()); |
effect = graph()->NewNode(simplified()->StoreField(AccessBuilder::ForMap()), |
value, value_map, effect, control); |
effect = graph()->NewNode( |