Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: src/ast/prettyprinter.cc

Issue 2081733004: Rip out most of our outdated modules implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ast/ast-numbering.cc ('k') | src/ast/scopeinfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « src/ast/ast-numbering.cc ('k') | src/ast/scopeinfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698