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

Unified Diff: src/parsing/preparser.h

Issue 2233473002: Redirect most NewUnresolved calls over Parser (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment 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/pattern-rewriter.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 4e2037deb2f2d92e5a28b49581fcfe369f278954..26ddf233b4f3a91663400c4f8f097c297b1a1e3f 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -801,8 +801,7 @@ class PreParserTraits {
return PreParserIdentifier::Default();
}
- static PreParserExpression ThisExpression(PreParserFactory* factory,
- int pos) {
+ static PreParserExpression ThisExpression(int pos) {
return PreParserExpression::This();
}
@@ -816,8 +815,7 @@ class PreParserTraits {
return PreParserExpression::SuperCallReference();
}
- static PreParserExpression NewTargetExpression(PreParserFactory* factory,
- int pos) {
+ static PreParserExpression NewTargetExpression(int pos) {
return PreParserExpression::Default();
}
@@ -832,9 +830,9 @@ class PreParserTraits {
return PreParserExpression::Default();
}
- static PreParserExpression ExpressionFromIdentifier(
- PreParserIdentifier name, int start_position, int end_position,
- PreParserFactory* factory) {
+ static PreParserExpression ExpressionFromIdentifier(PreParserIdentifier name,
+ int start_position,
+ int end_position) {
return PreParserExpression::FromIdentifier(name);
}
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698