Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 4781143d7d9b82f50064da3a310ce089131d88fe..b522c98b9a186ebf6ffdccb230336335ddfb98bb 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -378,9 +378,9 @@ void ArrayLiteral::BuildConstantElements(Isolate* isolate) { |
} else if (boilerplate_value->IsUninitialized()) { |
is_simple = false; |
JSObject::SetOwnElement( |
- array, i, handle(Smi::FromInt(0), isolate), SLOPPY); |
+ array, i, handle(Smi::FromInt(0), isolate), SLOPPY).Assert(); |
} else { |
- JSObject::SetOwnElement(array, i, boilerplate_value, SLOPPY); |
+ JSObject::SetOwnElement(array, i, boilerplate_value, SLOPPY).Assert(); |
} |
} |