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
This commit is contained in:
Dan Gohman 2007-10-08 21:27:12 +00:00
parent 6b33cfc6bb
commit 30d4254536

View File

@ -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 << ':';