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