From: Nate Begeman Date: Tue, 2 May 2006 17:36:46 +0000 (+0000) Subject: Print function number instead of name X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9d51eeb8bc2ccdd488aab90eb57672de6155f2d5;p=oota-llvm.git Print function number instead of name git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28057 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 76a03dce95d..1175ac68373 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)