diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-21 08:13:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-21 08:13:27 +0000 |
commit | 08adbd13ff4b9d219a97883aabd624ae2632db69 (patch) | |
tree | f18be4254aa476ea4a1dac59c73c244a2732dd65 /llvm/lib/CodeGen/AsmPrinter.cpp | |
parent | 462263274fae626968ec94c49e48fb60e7f8faa9 (diff) | |
download | bcm5719-llvm-08adbd13ff4b9d219a97883aabd624ae2632db69.tar.gz bcm5719-llvm-08adbd13ff4b9d219a97883aabd624ae2632db69.zip |
increment the function number in SetupMachineFunction
llvm-svn: 24461
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index 3b648a76116..86c3f4bb959 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/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. |