aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-02 08:39:46 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-02 08:39:46 +0000
commit4eecdeb3faf5df864790175da5d58301b751ec11 (patch)
tree4f9897e230b12c103b17472dfc10b801eaea2d6f /lib/CodeGen/AsmPrinter.cpp
parent916a9f071f525f29bb17e96dfea99431eb3d2a38 (diff)
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index eac574386b..f581bd6272 100644
--- a/lib/CodeGen/AsmPrinter.cpp
+++ b/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