Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index d1673c3e740842711680fab5f2ffcd3a5c2da88f..06f3639d9582cb83cfdf169f82e71fabd0fc6344 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -105,9 +105,6 @@ void CallPrinter::VisitImportDeclaration(ImportDeclaration* node) { |
} |
-void CallPrinter::VisitExportDeclaration(ExportDeclaration* node) {} |
- |
- |
void CallPrinter::VisitExpressionStatement(ExpressionStatement* node) { |
Find(node->expression()); |
} |
@@ -526,13 +523,6 @@ void PrettyPrinter::VisitImportDeclaration(ImportDeclaration* node) { |
} |
-void PrettyPrinter::VisitExportDeclaration(ExportDeclaration* node) { |
- Print("export "); |
- PrintLiteral(node->proxy()->name(), false); |
- Print(";"); |
-} |
- |
- |
void PrettyPrinter::VisitExpressionStatement(ExpressionStatement* node) { |
Visit(node->expression()); |
Print(";"); |
@@ -1311,12 +1301,6 @@ void AstPrinter::VisitImportDeclaration(ImportDeclaration* node) { |
} |
-void AstPrinter::VisitExportDeclaration(ExportDeclaration* node) { |
- IndentedScope indent(this, "EXPORT", node->position()); |
- PrintLiteral(node->proxy()->name(), true); |
-} |
- |
- |
void AstPrinter::VisitExpressionStatement(ExpressionStatement* node) { |
IndentedScope indent(this, "EXPRESSION STATEMENT", node->position()); |
Visit(node->expression()); |