Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index a3dc44085c3744d6ce394a4db9e08c04fe4d25ed..69d634b96496b4ef940f78871fdd5339e5d3c30d 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -524,7 +524,7 @@ void ArrayLiteral::BuildConstantElements(Isolate* isolate) { |
// New handle scope here, needs to be after BuildContants(). |
HandleScope scope(isolate); |
Handle<Object> boilerplate_value = GetBoilerplateValue(element, isolate); |
- if (boilerplate_value->IsTheHole()) { |
+ if (boilerplate_value->IsTheHole(isolate)) { |
is_holey = true; |
continue; |
} |