aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSP430
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-03 01:09:55 +0000
committerChris Lattner <sabre@nondot.org>2010-02-03 01:09:55 +0000
commitd1ff72b8a797304f146e4293db8c814231ea8cb3 (patch)
treef5933f6d4223c094abac69d75fdba2b8033e90af /lib/Target/MSP430
parent0d883e3f8484491d010b8f8b7a1aecc58cb5fa8e (diff)
downloadexternal_llvm-d1ff72b8a797304f146e4293db8c814231ea8cb3.zip
external_llvm-d1ff72b8a797304f146e4293db8c814231ea8cb3.tar.gz
external_llvm-d1ff72b8a797304f146e4293db8c814231ea8cb3.tar.bz2
rejigger the world so that EmitInstruction prints the \n at
the end of the instruction instead of expecting the caller to do it. This currently causes the asm-verbose instruction comments to be on the next line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430')
-rw-r--r--lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
index 14e39f9..20cbde8 100644
--- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
+++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
@@ -184,6 +184,7 @@ void MSP430AsmPrinter::EmitInstruction(const MachineInstr *MI) {
MCInst TmpInst;
MCInstLowering.Lower(MI, TmpInst);
printMCInst(&TmpInst);
+ O << '\n';
}
static MCInstPrinter *createMSP430MCInstPrinter(const Target &T,