projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f7102
)
Fix AstPrinter::VisitCallRuntime to not print garbage.
author
mstarzinger
<mstarzinger@chromium.org>
Tue, 8 Sep 2015 12:39:26 +0000
(
05:39
-0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 8 Sep 2015 12:39:34 +0000
(12:39 +0000)
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
1329133002
Cr-Commit-Position: refs/heads/master@{#30633}
src/prettyprinter.cc
patch
|
blob
|
history
diff --git
a/src/prettyprinter.cc
b/src/prettyprinter.cc
index
c5ac881
..
ac123bd
100644
(file)
--- a/
src/prettyprinter.cc
+++ b/
src/prettyprinter.cc
@@
-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());
}