Commit 191a0cb6 authored by neis's avatar neis Committed by Commit bot

Make prettyprinter useful in gdb.

R=rossberg
BUG=

Review URL: https://codereview.chromium.org/1354433004

Cr-Commit-Position: refs/heads/master@{#30866}
parent 5e08d818
......@@ -907,7 +907,7 @@ const char* PrettyPrinter::PrintProgram(FunctionLiteral* program) {
void PrettyPrinter::PrintOut(Isolate* isolate, Zone* zone, AstNode* node) {
PrettyPrinter printer(isolate, zone);
PrintF("%s", printer.Print(node));
PrintF("%s\n", printer.Print(node));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment