diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-02-02 08:39:46 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-02 08:39:46 +0000 |
| commit | 32e5347eb80b98f01888f4344b5aa29e2abca102 (patch) | |
| tree | 81a55e3494788c64e26a236e0fe423f4b47abb7e /llvm/lib/CodeGen | |
| parent | f5b9938ef6a4694d4815176c89b37c9e33447e65 (diff) | |
| download | bcm5719-llvm-32e5347eb80b98f01888f4344b5aa29e2abca102.tar.gz bcm5719-llvm-32e5347eb80b98f01888f4344b5aa29e2abca102.zip | |
Get rid of the annoying blank lines before labels.
llvm-svn: 46667
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index eac574386b6..f581bd6272d 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter.cpp @@ -1281,18 +1281,18 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const { /// printLabel - This method prints a local label used by debug and /// exception handling tables. void AsmPrinter::printLabel(const MachineInstr *MI) const { - O << "\n" << TAI->getPrivateGlobalPrefix() + O << TAI->getPrivateGlobalPrefix() << "label" << MI->getOperand(0).getImm() << ":\n"; } void AsmPrinter::printLabel(unsigned Id) const { - O << "\n" << TAI->getPrivateGlobalPrefix() << "label" << Id << ":\n"; + O << TAI->getPrivateGlobalPrefix() << "label" << Id << ":\n"; } /// printDeclare - This method prints a local variable declaration used by /// debug tables. void AsmPrinter::printDeclare(const MachineInstr *MI) const { - O << "\n"; + // Do nothing. } /// PrintAsmOperand - Print the specified operand of MI, an INLINEASM |

