Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 8b5180ad97e20b0dbb5ae474fbad534e507f9b65..0e7680de0d859724c84c3e4e95712dae65905138 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -649,7 +649,6 @@ void JSGenericLowering::LowerJSCreateLiteralArray(Node* node) { |
// Use the FastCloneShallowArrayStub only for shallow boilerplates up to the |
// initial length limit for arrays with "fast" elements kind. |
if ((p.flags() & ArrayLiteral::kShallowElements) != 0 && |
- (p.flags() & ArrayLiteral::kIsStrong) == 0 && |
length < JSArray::kInitialMaxFastElementArray) { |
Callable callable = CodeFactory::FastCloneShallowArray(isolate()); |
ReplaceWithStubCall(node, callable, flags); |