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 | 0c920438c1f21ee6d9befa4aac8b884b8cafbc9c (patch) | |
| tree | f5933f6d4223c094abac69d75fdba2b8033e90af /lib/Target/SystemZ/AsmPrinter | |
| parent | ff259dbe71427fbe989d2f886f08c00e369df771 (diff) | |
| download | external_llvm-0c920438c1f21ee6d9befa4aac8b884b8cafbc9c.zip external_llvm-0c920438c1f21ee6d9befa4aac8b884b8cafbc9c.tar.gz external_llvm-0c920438c1f21ee6d9befa4aac8b884b8cafbc9c.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/SystemZ/AsmPrinter')
| -rw-r--r-- | lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp index 1611ae8..965f5a1 100644 --- a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp +++ b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp @@ -79,6 +79,7 @@ namespace { void SystemZAsmPrinter::EmitInstruction(const MachineInstr *MI) { // Call the autogenerated instruction printer routines. printInstruction(MI); + O << '\n'; } void SystemZAsmPrinter::printPCRelImmOperand(const MachineInstr *MI, int OpNum){ |
