Make prettyprinter useful in gdb.
R=rossberg BUG= Review URL: https://codereview.chromium.org/1354433004 Cr-Commit-Position: refs/heads/master@{#30866}
This commit is contained in:
parent
5e08d818f0
commit
191a0cb6dd
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user