OSDN Git Service

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 c25f2ac..1cccfa9 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);