| Index: src/ast/ast.cc
|
| diff --git a/src/ast/ast.cc b/src/ast/ast.cc
|
| index 30fcf9905379db9df15c6deea980cf651546b846..068b36c7438cb3430d1d90d25e2b7183f294f7b6 100644
|
| --- a/src/ast/ast.cc
|
| +++ b/src/ast/ast.cc
|
| @@ -574,7 +574,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
|
|
|