increment the function number in SetupMachineFunction

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-21 08:13:27 +00:00
parent d5ab7e1c54
commit 77bc22866a

View File

@ -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.