summaryrefslogtreecommitdiff
path: root/lib/Target/Mips
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-06 17:38:38 +0000
committerDan Gohman <gohman@apple.com>2009-10-06 17:38:38 +0000
commite3cc3f3c84abfdf8eb3bd19dfa806ceea49f15d6 (patch)
treecf632431a5862f4e5b082c6fb51c706037c27299 /lib/Target/Mips
parent6cf4963cdc33f06031ebf86e0606afa4b79ccde5 (diff)
downloadllvm-e3cc3f3c84abfdf8eb3bd19dfa806ceea49f15d6.tar.gz
llvm-e3cc3f3c84abfdf8eb3bd19dfa806ceea49f15d6.tar.bz2
llvm-e3cc3f3c84abfdf8eb3bd19dfa806ceea49f15d6.tar.xz
Instead of printing unnecessary basic block labels as labels in
verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83392 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r--lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
index 2159555849..ccf9ee518d 100644
--- a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
+++ b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
@@ -273,7 +273,6 @@ bool MipsAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// Print a label for the basic block.
if (I != MF.begin()) {
EmitBasicBlockStart(I);
- O << '\n';
}
for (MachineBasicBlock::const_iterator II = I->begin(), E = I->end();