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 | 9d51eeb8bc2ccdd488aab90eb57672de6155f2d5 (patch) | |
tree | 0eb2a9aeac95c937f3667195d57a76057feffc9e /lib/CodeGen/AsmPrinter.cpp | |
parent | 6e0f3868965612fbd391ec9d4c5eeec6ffebb351 (diff) |
Print function number instead of name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 76a03dce95..1175ac6837 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/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) |