printInstruction() no longer prints a \n after itself, do it
authorChris Lattner <sabre@nondot.org>
Fri, 11 Sep 2009 05:59:55 +0000 (05:59 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Sep 2009 05:59:55 +0000 (05:59 +0000)
for the two instruction MOVPC32r sequence.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81509 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/AsmPrinter/X86MCInstLower.cpp

index c25f2acc3a52161912c53b33f9781eb4d9c35882..1cccfa95aa12a0a40c1c5f3d11d27523f3c86503 100644 (file)
@@ -307,6 +307,7 @@ printInstructionThroughMCStreamer(const MachineInstr *MI) {
     TmpInst.addOperand(MCOperand::CreateExpr(MCSymbolRefExpr::Create(PICBase,
                                                                  OutContext)));
     printInstruction(&TmpInst);
+    O << '\n';
     
     // Emit the label.
     OutStreamer.EmitLabel(PICBase);