Call getFunctionNumber() instead of referencing FunctionNumber directly,

for consistency.

llvm-svn: 42769
This commit is contained in:
Dan Gohman 2007-10-08 21:27:12 +00:00
parent a2ec0a3c2c
commit f8c79a885f

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