From: Chris Lattner Date: Mon, 21 Nov 2005 08:13:27 +0000 (+0000) Subject: increment the function number in SetupMachineFunction X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=77bc22866aa212144ceec3590ea2df11585a7f0c;p=oota-llvm.git increment the function number in SetupMachineFunction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24461 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 3b648a76116..86c3f4bb959 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -51,6 +51,7 @@ bool AsmPrinter::doFinalization(Module &M) { void AsmPrinter::SetupMachineFunction(MachineFunction &MF) { // What's my mangled name? CurrentFnName = Mang->getValueName(MF.getFunction()); + IncrementFunctionNumber(); } // EmitAlignment - Emit an alignment directive to the specified power of two.