Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: src/parsing/parser-base.h

Issue 2395003002: Remove now-unused TailCallExpressionProduction from ExpressionClassifier (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parsing/expression-classifier.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser-base.h
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h
index 1ebbee4959e8f22f230a563e7e32716264f24561..f557595d44d3435ca9715f5e4bfc7b606aa78c29 100644
--- a/src/parsing/parser-base.h
+++ b/src/parsing/parser-base.h
@@ -2722,8 +2722,7 @@ ParserBase<Impl>::ParseAssignmentExpression(bool accept_IN, bool* ok) {
if (is_destructuring_assignment) {
// This is definitely not an expression so don't accumulate
// expression-related errors.
- productions &= ~(ExpressionClassifier::ExpressionProduction |
- ExpressionClassifier::TailCallExpressionProduction);
+ productions &= ~ExpressionClassifier::ExpressionProduction;
}
if (!Token::IsAssignmentOp(peek())) {
« no previous file with comments | « src/parsing/expression-classifier.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698