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

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

Issue 2260183003: Remove unused default argument value in ExpressionClassifier::Accumulate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 b3b516ead13d8256bdcfc39806911e9480cb9908..effa1cf9b4f252e119ee8a7470b8ecbf67761e5d 100644
--- a/src/parsing/parser-base.h
+++ b/src/parsing/parser-base.h
@@ -2388,11 +2388,11 @@ ParserBase<Traits>::ParseAssignmentExpression(bool accept_IN,
// Do not merge pending non-pattern expressions yet!
classifier->Accumulate(
&arrow_formals_classifier,
- ExpressionClassifier::StandardProductions |
+ ExpressionClassifier::ExpressionProductions |
+ ExpressionClassifier::PatternProductions |
ExpressionClassifier::FormalParametersProductions |
ExpressionClassifier::CoverInitializedNameProduction |
- ExpressionClassifier::AsyncArrowFormalParametersProduction |
- ExpressionClassifier::AsyncBindingPatternProduction,
+ ExpressionClassifier::AsyncArrowFormalParametersProduction,
false);
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