Index: src/ast/ast-literal-reindexer.cc |
diff --git a/src/ast/ast-literal-reindexer.cc b/src/ast/ast-literal-reindexer.cc |
index a0ceee5b3589e0cc14d070fa897705abb0e67d19..a731db096080acf77257d85bd1cd3c97850a8cbe 100644 |
--- a/src/ast/ast-literal-reindexer.cc |
+++ b/src/ast/ast-literal-reindexer.cc |
@@ -247,18 +247,6 @@ void AstLiteralReindexer::VisitForStatement(ForStatement* node) { |
} |
-void AstLiteralReindexer::VisitClassLiteral(ClassLiteral* node) { |
- if (node->extends()) Visit(node->extends()); |
- if (node->constructor()) Visit(node->constructor()); |
- if (node->class_variable_proxy()) { |
- VisitVariableProxy(node->class_variable_proxy()); |
- } |
- for (int i = 0; i < node->properties()->length(); i++) { |
- VisitObjectLiteralProperty(node->properties()->at(i)); |
- } |
-} |
- |
- |
void AstLiteralReindexer::VisitObjectLiteral(ObjectLiteral* node) { |
UpdateIndex(node); |
for (int i = 0; i < node->properties()->length(); i++) { |