Fix comment.
authorDevang Patel <dpatel@apple.com>
Mon, 17 Sep 2007 20:07:40 +0000 (20:07 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 17 Sep 2007 20:07:40 +0000 (20:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42048 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/InlineCost.cpp

index c568355a5f356f9878e82d09c797c86ce5d45e98..ab459c2e3f923e42cd4e6c6935809fc57f1da4bb 100644 (file)
@@ -96,7 +96,7 @@ void InlineCostAnalyzer::FunctionInfo::analyzeFunction(Function *F) {
   unsigned NumInsts = 0, NumBlocks = 0;
 
   // Look at the size of the callee.  Each basic block counts as 20 units, and
-  // each instruction counts as 10.
+  // each instruction counts as 5.
   for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB) {
     for (BasicBlock::const_iterator II = BB->begin(), E = BB->end();
          II != E; ++II) {