summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-11 05:59:55 +0000
committerChris Lattner <sabre@nondot.org>2009-09-11 05:59:55 +0000
commit3e6bf2de16525a306998658ecf136f9dce316341 (patch)
tree328127cecff8609fe45c7e7d3313465ae49cf1fc
parenta49ea86ba234c6b738dda33ef608781a86bde1b9 (diff)
downloadllvm-3e6bf2de16525a306998658ecf136f9dce316341.tar.gz
llvm-3e6bf2de16525a306998658ecf136f9dce316341.tar.bz2
llvm-3e6bf2de16525a306998658ecf136f9dce316341.tar.xz
printInstruction() no longer prints a \n after itself, do it
for the two instruction MOVPC32r sequence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81509 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/AsmPrinter/X86MCInstLower.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp b/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
index c25f2acc3a..1cccfa95aa 100644
--- a/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
+++ b/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
@@ -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);