From 30d4254536e8471323ebca05acecf8237a1e7dee Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 8 Oct 2007 21:27:12 +0000 Subject: 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 --- lib/CodeGen/AsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/AsmPrinter.cpp') 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 << ':'; -- cgit v1.2.3-18-g5258