| Index: runtime/vm/precompiler.cc
|
| diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc
|
| index 2981e17dc6cd0931838b631833b0b5fb357db7a9..07167e9e7eef40f82c337287fd4fc35488372546 100644
|
| --- a/runtime/vm/precompiler.cc
|
| +++ b/runtime/vm/precompiler.cc
|
| @@ -1197,7 +1197,8 @@ RawObject* Precompiler::ExecuteOnce(SequenceNode* fragment) {
|
| Thread* const thread = Thread::Current();
|
| if (FLAG_support_ast_printer && FLAG_trace_compiler) {
|
| THR_Print("compiling expression: ");
|
| - AstPrinter::PrintNode(fragment);
|
| + AstPrinter ast_printer;
|
| + ast_printer.PrintNode(fragment);
|
| }
|
|
|
| // Create a dummy function object for the code generator.
|
|
|