Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 4f04580376789ec692104af8d6f914bc62b53634..86bf7634296dcbf71b8a2debf27262464a1a1e3c 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5790,7 +5790,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); |