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

Unified Diff: src/compiler/instruction.cc

Issue 637313002: [turbofan] Output file for C1 visualizer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Created 6 years, 2 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 | « src/compiler/graph-visualizer.cc ('k') | src/compiler/node-aux-data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.cc
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
index 635a6bde27808a49363d79770635139b2d03a8c4..63830e51db998c708801f243045a0597f7b9d616 100644
--- a/src/compiler/instruction.cc
+++ b/src/compiler/instruction.cc
@@ -291,7 +291,7 @@ std::ostream& operator<<(std::ostream& os, const Instruction& instr) {
os << " " << *instr.InputAt(i);
}
}
- return os << "\n";
+ return os;
}
@@ -563,7 +563,7 @@ std::ostream& operator<<(std::ostream& os, const InstructionSequence& code) {
j <= block->last_instruction_index(); j++) {
// TODO(svenpanne) Add some basic formatting to our streams.
SNPrintF(buf, "%5d", j);
- os << " " << buf.start() << ": " << *code.InstructionAt(j);
+ os << " " << buf.start() << ": " << *code.InstructionAt(j) << "\n";
}
os << " " << block->control();
« no previous file with comments | « src/compiler/graph-visualizer.cc ('k') | src/compiler/node-aux-data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698