Index: src/ast/ast-expression-rewriter.cc |
diff --git a/src/ast/ast-expression-rewriter.cc b/src/ast/ast-expression-rewriter.cc |
index 53aabe91c38d5ded95a894dd78b5d8b28385284b..97badabbd98e4bb207aae151baea4afdc73ed071 100644 |
--- a/src/ast/ast-expression-rewriter.cc |
+++ b/src/ast/ast-expression-rewriter.cc |
@@ -198,20 +198,6 @@ void AstExpressionRewriter::VisitFunctionLiteral(FunctionLiteral* node) { |
} |
-void AstExpressionRewriter::VisitClassLiteral(ClassLiteral* node) { |
- REWRITE_THIS(node); |
- // Not visiting `class_variable_proxy_`. |
- if (node->extends() != nullptr) { |
- AST_REWRITE_PROPERTY(Expression, node, extends); |
- } |
- AST_REWRITE_PROPERTY(FunctionLiteral, node, constructor); |
- ZoneList<typename ClassLiteral::Property*>* properties = node->properties(); |
- for (int i = 0; i < properties->length(); i++) { |
- VisitObjectLiteralProperty(properties->at(i)); |
- } |
-} |
- |
- |
void AstExpressionRewriter::VisitNativeFunctionLiteral( |
NativeFunctionLiteral* node) { |
REWRITE_THIS(node); |