| Index: src/compiler/js-create-lowering.cc
|
| diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc
|
| index 704d3ff41b7a3ba8b7f2e00f6411b0c2f0a39447..1d7881a10b9757277816cc693e7c2f31261ffc69 100644
|
| --- a/src/compiler/js-create-lowering.cc
|
| +++ b/src/compiler/js-create-lowering.cc
|
| @@ -243,9 +243,7 @@ Reduction JSCreateLowering::ReduceJSCreate(Node* node) {
|
| // generating code to finalize the instance size.
|
| 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
|
| - // a soft fallback to some NewObjectCodeStub.
|
| + // Check if we can inline the allocation.
|
| if (IsAllocationInlineable(constructor)) {
|
| // Compute instance size from initial map of {constructor}.
|
| Handle<Map> initial_map(constructor->initial_map(), isolate());
|
|
|