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

Unified Diff: src/ast/prettyprinter.cc

Issue 2199283002: [modules] Introduce new VariableLocation for module imports/exports. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment Created 4 years, 4 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
Index: src/ast/prettyprinter.cc
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc
index 40a60fc601f871bf82503b0b44f356e83ae0db3f..50d716484e6267aabd6851d0860e3dec5a75d547 100644
--- a/src/ast/prettyprinter.cc
+++ b/src/ast/prettyprinter.cc
@@ -1061,6 +1061,9 @@ void AstPrinter::VisitVariableProxy(VariableProxy* node) {
case VariableLocation::LOOKUP:
SNPrintF(buf + pos, " lookup");
break;
+ case VariableLocation::MODULE:
+ SNPrintF(buf + pos, " module");
+ break;
}
PrintLiteralWithModeIndented(buf.start(), var, node->name());
}

Powered by Google App Engine
This is Rietveld 408576698