Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index 1a1c01602cd058a3ca82c94b2f7d38f7f1461cd8..2d30faf7bca158c77db4335f7d45fe1dd3e161b4 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -377,6 +377,12 @@ void CallPrinter::VisitGetIterator(GetIterator* node) { |
Print(")"); |
} |
+void CallPrinter::VisitImportCallExpression(ImportCallExpression* node) { |
+ Print("ImportCall("); |
+ Find(node->argument(), true); |
+ Print(")"); |
+} |
+ |
void CallPrinter::VisitThisFunction(ThisFunction* node) {} |
@@ -1202,6 +1208,11 @@ void AstPrinter::VisitGetIterator(GetIterator* node) { |
Visit(node->iterable()); |
} |
+void AstPrinter::VisitImportCallExpression(ImportCallExpression* node) { |
+ IndentedScope indent(this, "IMPORT-CALL", node->position()); |
+ Visit(node->argument()); |
+} |
+ |
void AstPrinter::VisitThisFunction(ThisFunction* node) { |
IndentedScope indent(this, "THIS-FUNCTION", node->position()); |
} |