Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index 1082a4d1ecb5c93dfd0a918276cc25057f7898e3..a477e1a52eacd0bb09d1c660d6e3659712760e7b 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -936,9 +936,6 @@ class PreParserTraits { |
inline PreParserExpression RewriteNonPattern( |
PreParserExpression expr, const ExpressionClassifier* classifier, |
bool* ok); |
- inline PreParserExpression RewriteNonPatternArguments( |
- PreParserExpression args, const ExpressionClassifier* classifier, |
- bool* ok); |
inline PreParserExpression RewriteNonPatternObjectLiteralProperty( |
PreParserExpression property, const ExpressionClassifier* classifier, |
bool* ok); |
@@ -1132,14 +1129,6 @@ PreParserExpression PreParserTraits::RewriteNonPattern( |
} |
-PreParserExpression PreParserTraits::RewriteNonPatternArguments( |
- PreParserExpression args, const ExpressionClassifier* classifier, |
- bool* ok) { |
- pre_parser_->ValidateExpression(classifier, ok); |
- return args; |
-} |
- |
- |
PreParserExpression PreParserTraits::RewriteNonPatternObjectLiteralProperty( |
PreParserExpression property, const ExpressionClassifier* classifier, |
bool* ok) { |