Index: src/parsing/expression-classifier.h |
diff --git a/src/parsing/expression-classifier.h b/src/parsing/expression-classifier.h |
index 8e13d0e503756a4c841919348590e7abb302e31d..2c555b9c9886fa28972024f0ebd187c665c28ee7 100644 |
--- a/src/parsing/expression-classifier.h |
+++ b/src/parsing/expression-classifier.h |
@@ -71,11 +71,10 @@ class ExpressionClassifier { |
LetPatternProduction | AsyncBindingPatternProduction), |
FormalParametersProductions = (DistinctFormalParametersProduction | |
StrictModeFormalParametersProduction), |
- StandardProductions = ExpressionProductions | PatternProductions, |
AllProductions = |
- (StandardProductions | FormalParametersProductions | |
- ArrowFormalParametersProduction | CoverInitializedNameProduction | |
- AsyncArrowFormalParametersProduction | AsyncBindingPatternProduction) |
+ (ExpressionProductions | PatternProductions | |
+ FormalParametersProductions | ArrowFormalParametersProduction | |
+ CoverInitializedNameProduction | AsyncArrowFormalParametersProduction) |
}; |
enum FunctionProperties : unsigned { |
@@ -345,8 +344,7 @@ class ExpressionClassifier { |
invalid_productions_ &= ~AssignmentPatternProduction; |
} |
- void Accumulate(ExpressionClassifier* inner, |
- unsigned productions = StandardProductions, |
+ void Accumulate(ExpressionClassifier* inner, unsigned productions, |
bool merge_non_patterns = true) { |
DCHECK_EQ(inner->reported_errors_, reported_errors_); |
DCHECK_EQ(inner->reported_errors_begin_, reported_errors_end_); |