mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-27 12:26:08 +00:00
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:
@@ -1209,7 +1209,7 @@ bool AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo,
|
|||||||
void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB,
|
void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB,
|
||||||
bool printColon,
|
bool printColon,
|
||||||
bool printComment) const {
|
bool printComment) const {
|
||||||
O << TAI->getPrivateGlobalPrefix() << "BB" << FunctionNumber << "_"
|
O << TAI->getPrivateGlobalPrefix() << "BB" << getFunctionNumber() << "_"
|
||||||
<< MBB->getNumber();
|
<< MBB->getNumber();
|
||||||
if (printColon)
|
if (printColon)
|
||||||
O << ':';
|
O << ':';
|
||||||
|
Reference in New Issue
Block a user