Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index e2ee8657976518ede891e3cd126108d1f223a214..2f6bb533d94745627539810c343942fcd4a66692 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -463,22 +463,6 @@ void AstNumberingVisitor::VisitForStatement(ForStatement* node) { |
} |
-void AstNumberingVisitor::VisitClassLiteral(ClassLiteral* node) { |
- IncrementNodeCount(); |
- DisableCrankshaft(kClassLiteral); |
- node->set_base_id(ReserveIdRange(node->num_ids())); |
- 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)); |
- } |
- ReserveFeedbackSlots(node); |
-} |
- |
- |
void AstNumberingVisitor::VisitObjectLiteral(ObjectLiteral* node) { |
IncrementNodeCount(); |
node->set_base_id(ReserveIdRange(node->num_ids())); |