Fix AstPrinter::VisitCallRuntime to not print garbage.
R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1329133002 Cr-Commit-Position: refs/heads/master@{#30633}
This commit is contained in:
parent
a5f7102754
commit
e615c03ba1
@ -1532,8 +1532,8 @@ void AstPrinter::VisitCallNew(CallNew* node) {
|
||||
|
||||
void AstPrinter::VisitCallRuntime(CallRuntime* node) {
|
||||
EmbeddedVector<char, 128> buf;
|
||||
SNPrintF(buf, "CALL RUNTIME %s", node->debug_name());
|
||||
IndentedScope indent(this, buf.start());
|
||||
Print("NAME %s\n", node->debug_name());
|
||||
PrintArguments(node->arguments());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user