Get rid of the annoying blank lines before labels.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46667 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index eac5743..f581bd6 100644
--- a/lib/CodeGen/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter.cpp
@@ -1281,18 +1281,18 @@
/// 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