Commit 8d19859c authored by gsathya's avatar gsathya Committed by Commit bot

[pattern rewriter] Dont return value from void function

R=adamk@chromium.org

Review-Url: https://codereview.chromium.org/2626493002
Cr-Commit-Position: refs/heads/master@{#42156}
parent 8e19a2c4
......@@ -309,7 +309,7 @@ void Parser::PatternRewriter::VisitRewritableExpression(
block_->statements()->Add(factory()->NewExpressionStatement(expr, pos),
zone());
}
return set_context(old_context);
set_context(old_context);
}
// When an extra declaration scope needs to be inserted to account for
......
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