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

Unified Diff: src/prettyprinter.cc

Issue 918373002: Strip Interface class of most of its logic, make it all about Module exports (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Properly freeze interface at the end of ParseModule Created 5 years, 10 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/ppc/full-codegen-ppc.cc ('k') | src/rewriter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/prettyprinter.cc
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
index 8a260bd6514d891ccaba432139b26e1db6e9663a..da43d0eb0f870ad7097f80277d09f46fad47c41d 100644
--- a/src/prettyprinter.cc
+++ b/src/prettyprinter.cc
@@ -118,11 +118,6 @@ void CallPrinter::VisitModuleLiteral(ModuleLiteral* node) {
}
-void CallPrinter::VisitModuleVariable(ModuleVariable* node) {
- Find(node->proxy());
-}
-
-
void CallPrinter::VisitModulePath(ModulePath* node) { Find(node->module()); }
@@ -503,11 +498,6 @@ void PrettyPrinter::VisitModuleLiteral(ModuleLiteral* node) {
}
-void PrettyPrinter::VisitModuleVariable(ModuleVariable* node) {
- Visit(node->proxy());
-}
-
-
void PrettyPrinter::VisitModulePath(ModulePath* node) {
Visit(node->module());
Print(".");
@@ -523,8 +513,6 @@ void PrettyPrinter::VisitModuleUrl(ModuleUrl* node) {
void PrettyPrinter::VisitModuleStatement(ModuleStatement* node) {
Print("module ");
- PrintLiteral(node->proxy()->name(), false);
- Print(" ");
Visit(node->body());
}
@@ -1241,12 +1229,6 @@ void AstPrinter::VisitModuleLiteral(ModuleLiteral* node) {
}
-void AstPrinter::VisitModuleVariable(ModuleVariable* node) {
- IndentedScope indent(this, "MODULE VARIABLE");
- Visit(node->proxy());
-}
-
-
void AstPrinter::VisitModulePath(ModulePath* node) {
IndentedScope indent(this, "MODULE PATH");
PrintIndentedVisit("MODULE PATH PARENT", node->module());
@@ -1261,7 +1243,6 @@ void AstPrinter::VisitModuleUrl(ModuleUrl* node) {
void AstPrinter::VisitModuleStatement(ModuleStatement* node) {
IndentedScope indent(this, "MODULE STATEMENT");
- PrintLiteralIndented("NAME", node->proxy()->name(), true);
PrintStatements(node->body()->statements());
}
« no previous file with comments | « src/ppc/full-codegen-ppc.cc ('k') | src/rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698