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(); |