Index: runtime/vm/ast_printer.cc |
diff --git a/runtime/vm/ast_printer.cc b/runtime/vm/ast_printer.cc |
index e20d2c17a9fa9549df6269850c82e252294ebcea..f1f1a8bfce9b599316447a1c65105dbe35cd4243 100644 |
--- a/runtime/vm/ast_printer.cc |
+++ b/runtime/vm/ast_printer.cc |
@@ -46,6 +46,12 @@ void AstPrinter::VisitArgumentListNode(ArgumentListNode* arguments) { |
void AstPrinter::VisitReturnNode(ReturnNode* node) { |
VisitGenericAstNode(node); |
+ OS::Print("(%s %s", |
+ node->PrettyName(), |
+ (node->return_type() == ReturnNode::kContinuation) ? |
+ "continuation" : ""); |
+ node->VisitChildren(this); |
+ OS::Print(")"); |
} |
@@ -157,6 +163,11 @@ void AstPrinter::VisitAwaitNode(AwaitNode* node) { |
} |
+void AstPrinter::VisitAwaitMarkerNode(AwaitMarkerNode* node) { |
+ VisitGenericAstNode(node); |
+} |
+ |
+ |
void AstPrinter::VisitPrimaryNode(PrimaryNode* node) { |
OS::Print("*****%s***** \"%s\")", |
node->PrettyName(), |