mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 05:41:40 +00:00
Call getFunctionNumber() instead of referencing FunctionNumber directly,
for consistency. llvm-svn: 42769
This commit is contained in:
parent
a2ec0a3c2c
commit
f8c79a885f
@ -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 << ':';
|
||||
|
Loading…
Reference in New Issue
Block a user