From 32e5347eb80b98f01888f4344b5aa29e2abca102 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 2 Feb 2008 08:39:46 +0000 Subject: Get rid of the annoying blank lines before labels. llvm-svn: 46667 --- llvm/lib/CodeGen/AsmPrinter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen') 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 -- cgit v1.2.3