diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h index 05002817f0..55aedf5bf7 100644 --- a/src/parsing/parser-base.h +++ b/src/parsing/parser-base.h @@ -1231,7 +1231,7 @@ class ParserBase { // Parse a C-style for loop: 'for (; ; ) { ... }' StatementT ParseStandardForLoop(int stmt_pos, StatementT init, bool bound_names_are_lexical, - ForInfo* for_info, BlockState* for_state, + ForInfo* for_info, ZoneList* labels, bool* ok); StatementT ParseForAwaitStatement(ZoneList* labels, @@ -5594,7 +5594,7 @@ typename ParserBase::StatementT ParserBase::ParseForStatement( // Standard 'for' loop, we have parsed the initializer at this point. return ParseStandardForLoop(stmt_pos, init, bound_names_are_lexical, - &for_info, &for_state, labels, ok); + &for_info, labels, ok); } template @@ -5732,8 +5732,7 @@ ParserBase::ParseForEachStatementWithoutDeclarations( template typename ParserBase::StatementT ParserBase::ParseStandardForLoop( int stmt_pos, StatementT init, bool bound_names_are_lexical, - ForInfo* for_info, BlockState* for_state, - ZoneList* labels, bool* ok) { + ForInfo* for_info, ZoneList* labels, bool* ok) { auto loop = factory()->NewForStatement(labels, stmt_pos); typename Types::Target target(this, loop);