Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 95e84f0807b645a80b1aa2b00500711c2bd91480..9b26267b4b37005cc9c0b5db7b9dad428e7b8183 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -612,7 +612,7 @@ void ArrayLiteral::BuildConstantElements(Isolate* isolate) { |
} |
if (boilerplate_value->IsUninitialized(isolate)) { |
- boilerplate_value = handle(Smi::kZero, isolate); |
+ boilerplate_value = handle(Smi::FromInt(0), isolate); |
is_simple = false; |
} |