Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index c463d43000a0189496451fbbdd7ce43d984496a4..0a81f22ddc8e3c7bcc4eeb5df1785839ba15bda6 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5792,7 +5792,8 @@ void HOptimizedGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) { |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
isolate(), raw_boilerplate, |
Runtime::CreateArrayLiteralBoilerplate( |
- isolate(), literals, expr->constant_elements()), |
+ isolate(), literals, expr->constant_elements(), |
+ is_strong(function_language_mode())), |
Bailout(kArrayBoilerplateCreationFailed)); |
boilerplate_object = Handle<JSObject>::cast(raw_boilerplate); |