Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index f43166e186247d0d29be7f3e60d1a71af8960420..35b8cef4f1e2cc695e80cd980158245bc2d3e9ef 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -106,12 +106,6 @@ void AstNumberingVisitor::VisitExportDeclaration(ExportDeclaration* node) { |
} |
-void AstNumberingVisitor::VisitModuleUrl(ModuleUrl* node) { |
- IncrementNodeCount(); |
- DisableOptimization(kModuleUrl); |
-} |
- |
- |
void AstNumberingVisitor::VisitEmptyStatement(EmptyStatement* node) { |
IncrementNodeCount(); |
} |
@@ -179,14 +173,6 @@ void AstNumberingVisitor::VisitSuperReference(SuperReference* node) { |
} |
-void AstNumberingVisitor::VisitModuleDeclaration(ModuleDeclaration* node) { |
- IncrementNodeCount(); |
- DisableOptimization(kModuleDeclaration); |
- VisitVariableProxy(node->proxy()); |
- Visit(node->module()); |
-} |
- |
- |
void AstNumberingVisitor::VisitImportDeclaration(ImportDeclaration* node) { |
IncrementNodeCount(); |
DisableOptimization(kImportDeclaration); |
@@ -194,20 +180,6 @@ void AstNumberingVisitor::VisitImportDeclaration(ImportDeclaration* node) { |
} |
-void AstNumberingVisitor::VisitModulePath(ModulePath* node) { |
- IncrementNodeCount(); |
- DisableOptimization(kModulePath); |
- Visit(node->module()); |
-} |
- |
- |
-void AstNumberingVisitor::VisitModuleStatement(ModuleStatement* node) { |
- IncrementNodeCount(); |
- DisableOptimization(kModuleStatement); |
- Visit(node->body()); |
-} |
- |
- |
void AstNumberingVisitor::VisitExpressionStatement(ExpressionStatement* node) { |
IncrementNodeCount(); |
Visit(node->expression()); |
@@ -266,13 +238,6 @@ void AstNumberingVisitor::VisitFunctionDeclaration(FunctionDeclaration* node) { |
} |
-void AstNumberingVisitor::VisitModuleLiteral(ModuleLiteral* node) { |
- IncrementNodeCount(); |
- DisableCaching(kModuleLiteral); |
- VisitBlock(node->body()); |
-} |
- |
- |
void AstNumberingVisitor::VisitCallRuntime(CallRuntime* node) { |
IncrementNodeCount(); |
ReserveFeedbackSlots(node); |