From: Dan Gohman Date: Mon, 8 Oct 2007 21:27:12 +0000 (+0000) Subject: Call getFunctionNumber() instead of referencing FunctionNumber directly, X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=30d4254536e8471323ebca05acecf8237a1e7dee;p=oota-llvm.git Call getFunctionNumber() instead of referencing FunctionNumber directly, for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42769 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 0ad0ec7b1f1..5eb85cd21a5 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -1209,7 +1209,7 @@ bool AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB, bool printColon, bool printComment) const { - O << TAI->getPrivateGlobalPrefix() << "BB" << FunctionNumber << "_" + O << TAI->getPrivateGlobalPrefix() << "BB" << getFunctionNumber() << "_" << MBB->getNumber(); if (printColon) O << ':';