diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-03 01:09:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-03 01:09:55 +0000 |
commit | d1ff72b8a797304f146e4293db8c814231ea8cb3 (patch) | |
tree | f5933f6d4223c094abac69d75fdba2b8033e90af /lib/Target/CellSPU/AsmPrinter | |
parent | 0d883e3f8484491d010b8f8b7a1aecc58cb5fa8e (diff) |
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/CellSPU/AsmPrinter')
-rw-r--r-- | lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp b/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp index 92736c2268..db653a733c 100644 --- a/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp +++ b/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp @@ -58,6 +58,7 @@ namespace { void EmitInstruction(const MachineInstr *MI) { printInstruction(MI); + O << '\n'; } void printOp(const MachineOperand &MO); |