diff options
author | Dan Gohman <gohman@apple.com> | 2007-10-08 21:27:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-10-08 21:27:12 +0000 |
commit | 30d4254536e8471323ebca05acecf8237a1e7dee (patch) | |
tree | 95590dd0b5a19544d5ab66fbf65a46bf435af11e /lib/CodeGen/AsmPrinter.cpp | |
parent | 6b33cfc6bba0b1cac7e02b52a00824a3bc06d36e (diff) |
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 0ad0ec7b1f..5eb85cd21a 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 << ':'; |