diff options
author | Nate Begeman <natebegeman@mac.com> | 2006-05-02 17:36:46 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2006-05-02 17:36:46 +0000 |
commit | 4971ba5f41e3a7d96f8e53e469ca0af8fd504400 (patch) | |
tree | b6b963999856eeb2c84599c24149275f0a8c6b7b /llvm/lib/CodeGen/AsmPrinter.cpp | |
parent | 287dc5be0de71499251d3f00109d27966ca466f4 (diff) | |
download | bcm5719-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.cpp | 5 |
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) |