Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: src/prettyprinter.cc

Issue 1354433004: Make prettyprinter useful in gdb. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/prettyprinter.cc
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
index 37110e27b3484b909b037874f7534e10b5a9bc3b..c9de739357101efeb5988967eeda0125ce474f53 100644
--- a/src/prettyprinter.cc
+++ b/src/prettyprinter.cc
@@ -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));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698