OSDN Git Service

'printMCInst' doesn't print newlines after instructions anymore.
authorChris Lattner <sabre@nondot.org>
Sun, 13 Sep 2009 22:24:34 +0000 (22:24 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Sep 2009 22:24:34 +0000 (22:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81723 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCAsmStreamer.cpp

index 17c591b..f07514c 100644 (file)
@@ -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) {