[llvm-commits] [llvm] r81509 - /llvm/trunk/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp

Chris Lattner sabre at nondot.org
Thu Sep 10 22:59:55 PDT 2009


Author: lattner
Date: Fri Sep 11 00:59:55 2009
New Revision: 81509

URL: http://llvm.org/viewvc/llvm-project?rev=81509&view=rev
Log:
printInstruction() no longer prints a \n after itself, do it
for the two instruction MOVPC32r sequence.

Modified:
    llvm/trunk/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp

Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp?rev=81509&r1=81508&r2=81509&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp Fri Sep 11 00:59:55 2009
@@ -307,6 +307,7 @@
     TmpInst.addOperand(MCOperand::CreateExpr(MCSymbolRefExpr::Create(PICBase,
                                                                  OutContext)));
     printInstruction(&TmpInst);
+    O << '\n';
     
     // Emit the label.
     OutStreamer.EmitLabel(PICBase);





More information about the llvm-commits mailing list