commit | 9f23dee08c7052af2c4baae3e2b06518896742eb | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Sat Apr 17 16:29:15 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Sat Apr 17 16:29:15 2010 +0000 |
tree | 8230136cbb254fd262924c3c232c23085d356e3a | |
parent | 383b5f6b91914454a9a8a6d829b4eeb714c75113 [diff] [blame] |
Start function numbering at 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101638 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineFunctionAnalysis.cpp b/lib/CodeGen/MachineFunctionAnalysis.cpp index 3b2eb6d..07a0f45 100644 --- a/lib/CodeGen/MachineFunctionAnalysis.cpp +++ b/lib/CodeGen/MachineFunctionAnalysis.cpp
@@ -44,7 +44,8 @@ MachineModuleInfo *MMI = getAnalysisIfAvailable<MachineModuleInfo>(); assert(MMI && "MMI not around yet??"); MMI->setModule(&M); - NextFnNum = 1; return false; + NextFnNum = 0; + return false; }