diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc index c5ac881be2..ac123bd10f 100644 --- a/src/prettyprinter.cc +++ b/src/prettyprinter.cc @@ -1532,8 +1532,8 @@ void AstPrinter::VisitCallNew(CallNew* node) { void AstPrinter::VisitCallRuntime(CallRuntime* node) { EmbeddedVector buf; + SNPrintF(buf, "CALL RUNTIME %s", node->debug_name()); IndentedScope indent(this, buf.start()); - Print("NAME %s\n", node->debug_name()); PrintArguments(node->arguments()); }