summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/AsmPrinter
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
commit996ec840d0867e95422d1de8f97efd934f233ea6 (patch)
tree581319ef67966e67a4fccce839c58da91c5ad4d9 /llvm/lib/Target/XCore/AsmPrinter
parent41ad1905c91b3bbedbacf42b12f8edef59466084 (diff)
downloadbcm5719-llvm-996ec840d0867e95422d1de8f97efd934f233ea6.tar.gz
bcm5719-llvm-996ec840d0867e95422d1de8f97efd934f233ea6.zip
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. llvm-svn: 95178
Diffstat (limited to 'llvm/lib/Target/XCore/AsmPrinter')
-rw-r--r--llvm/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp b/llvm/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
index f85217cdf5e..b9ba61e505c 100644
--- a/llvm/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
+++ b/llvm/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
@@ -309,6 +309,7 @@ void XCoreAsmPrinter::EmitInstruction(const MachineInstr *MI) {
return;
}
printInstruction(MI);
+ O << '\n';
}
// Force static initialization.
OpenPOWER on IntegriCloud