summaryrefslogtreecommitdiff
path: root/lib/MC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-13 22:24:34 +0000
committerChris Lattner <sabre@nondot.org>2009-09-13 22:24:34 +0000
commit1b6570e527dcf748da54a539a5a817fa4334f3aa (patch)
tree323a8e659423b341b3cf6703cf5f561e1e113718 /lib/MC
parenta9ff1392ea5d21b2dd9fbe37a0f268b2834211d0 (diff)
downloadllvm-1b6570e527dcf748da54a539a5a817fa4334f3aa.tar.gz
llvm-1b6570e527dcf748da54a539a5a817fa4334f3aa.tar.bz2
llvm-1b6570e527dcf748da54a539a5a817fa4334f3aa.tar.xz
'printMCInst' doesn't print newlines after instructions anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCAsmStreamer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp
index 17c591b01c..f07514c729 100644
--- a/lib/MC/MCAsmStreamer.cpp
+++ b/lib/MC/MCAsmStreamer.cpp
@@ -267,6 +267,7 @@ void MCAsmStreamer::EmitInstruction(const MCInst &Inst) {
// If we have an AsmPrinter, use that to print.
if (Printer) {
Printer->printMCInst(&Inst);
+ OS << '\n';
// Show the encoding if we have a code emitter.
if (Emitter) {