From 77bc22866aa212144ceec3590ea2df11585a7f0c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 21 Nov 2005 08:13:27 +0000 Subject: [PATCH] increment the function number in SetupMachineFunction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24461 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter.cpp | 1 + 1 file changed, 1 insertion(+) 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. -- 2.34.1