| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index 8285e7e13daf852b55e61786d7710f55ca1a966f..f4e6306b600f1e03576dc48188eb5cd7db10baf6 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -1417,9 +1417,7 @@ Reduction JSTypedLowering::ReduceJSCreate(Node* node) {
|
| DCHECK(constructor->IsConstructor());
|
| // Force completion of inobject slack tracking before
|
| // generating code to finalize the instance size.
|
| - if (constructor->IsInobjectSlackTrackingInProgress()) {
|
| - constructor->CompleteInobjectSlackTracking();
|
| - }
|
| + constructor->CompleteInobjectSlackTrackingIfActive();
|
|
|
| // TODO(bmeurer): We fall back to the runtime in case we cannot inline
|
| // the allocation here, which is sort of expensive. We should think about
|
|
|