| Index: runtime/vm/parser_test.cc
|
| diff --git a/runtime/vm/parser_test.cc b/runtime/vm/parser_test.cc
|
| index 319b13deb482863d154a4a22d1199656ae684a35..14fae8ef88fbb3007aff8d7cff7c5991c43e0fb5 100644
|
| --- a/runtime/vm/parser_test.cc
|
| +++ b/runtime/vm/parser_test.cc
|
| @@ -40,7 +40,8 @@ static void DumpFunction(const Library& lib,
|
| EXPECT(parsed_function->node_sequence() != NULL);
|
| printf("Class %s function %s:\n", cname, fname);
|
| if (FLAG_support_ast_printer) {
|
| - AstPrinter::PrintFunctionNodes(*parsed_function);
|
| + AstPrinter ast_printer;
|
| + ast_printer.PrintFunctionNodes(*parsed_function);
|
| } else {
|
| OS::Print("AST printer not supported.");
|
| }
|
|
|