Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index a0360bf610a55d96eb07ddc90623342745f06af9..21ce932a085a9c9441b81b01135730b83d94c945 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -384,6 +384,12 @@ void CallPrinter::VisitGetIterator(GetIterator* node) { |
if (was_found) done_ = true; |
} |
+void CallPrinter::VisitImportCallExpression(ImportCallExpression* node) { |
+ Print("ImportCall("); |
+ Find(node->argument(), true); |
+ Print(")"); |
+} |
+ |
void CallPrinter::VisitThisFunction(ThisFunction* node) {} |
@@ -1203,6 +1209,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()); |
} |