Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index a25669777144553769883aa0d97b6c4b96d261c4..a8adfb8f3681521b2bbb067f56cae81098a6d3f6 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -412,7 +412,8 @@ bool FullCodeGenerator::MustCreateObjectLiteralWithRuntime( |
bool FullCodeGenerator::MustCreateArrayLiteralWithRuntime( |
ArrayLiteral* expr) const { |
- return expr->depth() > 1 || |
+ // TODO(rossberg): Teach strong mode to FastCloneShallowArrayStub. |
+ return expr->depth() > 1 || expr->is_strong() || |
expr->values()->length() > JSObject::kInitialMaxFastElementArray; |
} |