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

Unified Diff: src/ast/ast-expression-visitor.cc

Issue 2142333002: Refactor class declaration logic to the parser and runtime Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor cleanup per Adam 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
Index: src/ast/ast-expression-visitor.cc
diff --git a/src/ast/ast-expression-visitor.cc b/src/ast/ast-expression-visitor.cc
index 7536d90ca8e7f21acf3d91db96f2336f3a516b7b..770fb0b2c0661fca2147f1ac4fdb34fb0da2deea 100644
--- a/src/ast/ast-expression-visitor.cc
+++ b/src/ast/ast-expression-visitor.cc
@@ -127,11 +127,6 @@ void AstExpressionVisitor::VisitThisFunction(ThisFunction* expr) {
AstTraversalVisitor::VisitThisFunction(expr);
}
-void AstExpressionVisitor::VisitClassLiteral(ClassLiteral* expr) {
- VisitExpression(expr);
- AstTraversalVisitor::VisitClassLiteral(expr);
-}
-
void AstExpressionVisitor::VisitSpread(Spread* expr) {
VisitExpression(expr);
AstTraversalVisitor::VisitSpread(expr);

Powered by Google App Engine
This is Rietveld 408576698