commit | 4fee6f3bdd0b318d1f259b1a00d67306e695e9fa | [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 | 15385e7a7fc2704b8eb79adde042756ea08cda7e | |
parent | 8422e57baaf8a88d8cca5d09e0f4077582faaaaa [diff] [blame] |
Start function numbering at 0. llvm-svn: 101638
diff --git a/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp b/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp index 3b2eb6d..07a0f45 100644 --- a/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp +++ b/llvm/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; }