summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-05-02 17:36:46 +0000
committerNate Begeman <natebegeman@mac.com>2006-05-02 17:36:46 +0000
commit4971ba5f41e3a7d96f8e53e469ca0af8fd504400 (patch)
treeb6b963999856eeb2c84599c24149275f0a8c6b7b /llvm/lib/CodeGen/AsmPrinter.cpp
parent287dc5be0de71499251d3f00109d27966ca466f4 (diff)
downloadbcm5719-llvm-4971ba5f41e3a7d96f8e53e469ca0af8fd504400.tar.gz
bcm5719-llvm-4971ba5f41e3a7d96f8e53e469ca0af8fd504400.zip
Print function number instead of name
llvm-svn: 28057
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp
index 76a03dce95d..1175ac68373 100644
--- a/llvm/lib/CodeGen/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter.cpp
@@ -731,9 +731,8 @@ bool AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo,
void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB,
bool printColon,
bool printComment) const {
- O << PrivateGlobalPrefix << "LBB"
- << Mang->getValueName(MBB->getParent()->getFunction())
- << "_" << MBB->getNumber();
+ O << PrivateGlobalPrefix << "BB" << FunctionNumber << "_"
+ << MBB->getNumber();
if (printColon)
O << ':';
if (printComment)
OpenPOWER on IntegriCloud