Index: src/runtime/runtime-literals.cc |
diff --git a/src/runtime/runtime-literals.cc b/src/runtime/runtime-literals.cc |
index 52c1726dc65ea256c1fafeb5d7eea890cf1f161f..80af962e3c9630111f91d56062554db67c8eb286 100644 |
--- a/src/runtime/runtime-literals.cc |
+++ b/src/runtime/runtime-literals.cc |
@@ -191,6 +191,7 @@ MaybeHandle<Object> Runtime::CreateArrayLiteralBoilerplate( |
isolate->factory()->CopyFixedArray(fixed_array_values); |
copied_elements_values = fixed_array_values_copy; |
for (int i = 0; i < fixed_array_values->length(); i++) { |
+ HandleScope scope(isolate); |
if (fixed_array_values->get(i)->IsFixedArray()) { |
// The value contains the constant_properties of a |
// simple object or array literal. |