| Index: src/ast/ast.cc
|
| diff --git a/src/ast/ast.cc b/src/ast/ast.cc
|
| index 69e7351a7d3d9cb1e7626058bd8f97e91ad5c193..a693acf67b4bb036be00ee480355a38048c6e39f 100644
|
| --- a/src/ast/ast.cc
|
| +++ b/src/ast/ast.cc
|
| @@ -553,7 +553,7 @@ void ArrayLiteral::AssignFeedbackVectorSlots(Isolate* isolate,
|
| int array_index = 0;
|
| for (; array_index < values()->length(); array_index++) {
|
| Expression* subexpr = values()->at(array_index);
|
| - if (subexpr->IsSpread()) break;
|
| + DCHECK(!subexpr->IsSpread());
|
| if (CompileTimeValue::IsCompileTimeValue(subexpr)) continue;
|
|
|
| // We'll reuse the same literal slot for all of the non-constant
|
|
|