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

Unified Diff: src/parsing/preparser.h

Issue 1617733002: Remove unnecessary RewriteNonPatternArguments (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove ValidateExpression from native calls Created 4 years, 11 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/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698