Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 518cef15fbad7926d957090b79dc52ef8247358e..8be23cc8d08b82ae0c95db1f6c2bd3d05c246a56 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -649,8 +649,7 @@ void ArrayLiteral::AssignFeedbackVectorSlots(Isolate* isolate, |
FeedbackVectorSlotCache* cache) { |
// This logic that computes the number of slots needed for vector store |
// ics must mirror FullCodeGenerator::VisitArrayLiteral. |
- int array_index = 0; |
- for (; array_index < values()->length(); array_index++) { |
+ for (int array_index = 0; array_index < values()->length(); array_index++) { |
Expression* subexpr = values()->at(array_index); |
DCHECK(!subexpr->IsSpread()); |
if (CompileTimeValue::IsCompileTimeValue(subexpr)) continue; |