| Index: src/compiler/js-create-lowering.cc
|
| diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc
|
| index e8c72eb172bccdd78ad4f94855ce23e25fcffe33..368c05827e8994909f714d4ccaf857ab1d82f1ee 100644
|
| --- a/src/compiler/js-create-lowering.cc
|
| +++ b/src/compiler/js-create-lowering.cc
|
| @@ -43,11 +43,8 @@ class AllocationBuilder final {
|
| effect_ = graph()->NewNode(
|
| common()->BeginRegion(RegionObservability::kNotObservable), effect_);
|
| allocation_ =
|
| - graph()->NewNode(simplified()->Allocate(pretenure),
|
| + graph()->NewNode(simplified()->Allocate(type, pretenure),
|
| jsgraph()->Constant(size), effect_, control_);
|
| - // TODO(turbofan): Maybe we should put the Type* onto the Allocate operator
|
| - // at some point, or maybe we should have a completely differnt story.
|
| - NodeProperties::SetType(allocation_, type);
|
| effect_ = allocation_;
|
| }
|
|
|
|
|