Commit 62bf607f authored by rossberg's avatar rossberg Committed by Commit bot

Happify dumb coverage checker

This is old code, and the same pattern appears in other places.
I have no idea what the checker's problem is all of a sudden...

TBR=machenbach@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1785693002

Cr-Commit-Position: refs/heads/master@{#34676}
parent 85517653
......@@ -3525,7 +3525,7 @@ Statement* Parser::ParseForStatement(ZoneList<const AstRawString*>* labels,
ParseVariableDeclarations(kForStatement, &parsing_result, nullptr,
CHECK_OK);
ForEachStatement::VisitMode mode;
ForEachStatement::VisitMode mode = ForEachStatement::ENUMERATE;
int each_beg_pos = scanner()->location().beg_pos;
int each_end_pos = scanner()->location().end_pos;
......@@ -3692,7 +3692,7 @@ Statement* Parser::ParseForStatement(ZoneList<const AstRawString*>* labels,
ExpressionClassifier classifier(this);
Expression* expression = ParseExpression(false, &classifier, CHECK_OK);
int lhs_end_pos = scanner()->location().end_pos;
ForEachStatement::VisitMode mode;
ForEachStatement::VisitMode mode = ForEachStatement::ENUMERATE;
is_let_identifier_expression =
expression->IsVariableProxy() &&
expression->AsVariableProxy()->raw_name() ==
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment