Chromium Code Reviews| Index: src/ast.cc |
| diff --git a/src/ast.cc b/src/ast.cc |
| index 73cd013a8138f373899e7f324179160e4aa69295..983fcc1d77b7f1343ce0e002c1323fa1e7295d91 100644 |
| --- a/src/ast.cc |
| +++ b/src/ast.cc |
| @@ -504,6 +504,7 @@ void ArrayLiteral::BuildConstantElements(Isolate* isolate) { |
| depth_acc = m_literal->depth() + 1; |
| } |
| } |
| + HandleScope loop_scope(isolate); |
| Handle<Object> boilerplate_value = GetBoilerplateValue(element, isolate); |
| if (boilerplate_value->IsTheHole()) { |
| is_holey = true; |