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 | 5942e5a5fb296dc5e4e37f8c3e19927257426277 (patch) | |
| tree | a11780615b65210c87ed9a78295a2215b6d76f81 /llvm/lib/CodeGen/AsmPrinter.cpp | |
| parent | ac546cc28f2edfd78071bff2adfaeeb98bd3c299 (diff) | |
| download | bcm5719-llvm-5942e5a5fb296dc5e4e37f8c3e19927257426277.tar.gz bcm5719-llvm-5942e5a5fb296dc5e4e37f8c3e19927257426277.zip | |
Call getFunctionNumber() instead of referencing FunctionNumber directly,
for consistency.
llvm-svn: 42769
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index 0ad0ec7b1f1..5eb85cd21a5 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/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 << ':'; |

