increment the function number in SetupMachineFunction

llvm-svn: 24461
This commit is contained in:
Chris Lattner 2005-11-21 08:13:27 +00:00
parent 462263274f
commit 08adbd13ff
1 changed files with 1 additions and 0 deletions

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.