| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index 168fb48cc093949777bf31d37e16f2cb2fed937e..bc5e58cc64a869b624d6021a32531ddf2af9d038 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -954,7 +954,9 @@ Reduction JSTypedLowering::ReduceJSCreateLiteralArray(Node* node) {
|
|
|
| // Use the FastCloneShallowArrayStub only for shallow boilerplates up to the
|
| // initial length limit for arrays with "fast" elements kind.
|
| + // TODO(rossberg): Teach strong mode to FastCloneShallowArrayStub.
|
| if ((flags & ArrayLiteral::kShallowElements) != 0 &&
|
| + (flags & ArrayLiteral::kIsStrong) == 0 &&
|
| length < JSObject::kInitialMaxFastElementArray) {
|
| Isolate* isolate = jsgraph()->isolate();
|
| Callable callable = CodeFactory::FastCloneShallowArray(isolate);
|
|
|