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

Unified Diff: src/parsing/preparser.h

Issue 2142233003: Templatize AstVisitor with its subclass (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 4 years, 5 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') | src/parsing/rewriter.cc » ('j') | 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 71ed1fdb274c5eb7922f7736345775312f9de8c6..c246fb14a68a7f195ac4dffc7fc34245edd2f009 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -802,15 +802,14 @@ class PreParserTraits {
return PreParserExpression::This();
}
- static PreParserExpression SuperPropertyReference(Scope* scope,
- PreParserFactory* factory,
- int pos) {
+ static PreParserExpression NewSuperPropertyReference(
+ Scope* scope, PreParserFactory* factory, int pos) {
return PreParserExpression::Default();
}
- static PreParserExpression SuperCallReference(Scope* scope,
- PreParserFactory* factory,
- int pos) {
+ static PreParserExpression NewSuperCallReference(Scope* scope,
+ PreParserFactory* factory,
+ int pos) {
return PreParserExpression::SuperCallReference();
}
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | src/parsing/rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698