aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-04-17 19:56:46 +0000
committerDale Johannesen <dalej@apple.com>2010-04-17 19:56:46 +0000
commitb5f6af644ebe504479a74341ae8b0c706e7a5fcc (patch)
treeadc8e8f934c1213026dc9f6abbc420787cd7f15f
parent0dd0d49e780a1523cffc0a616ccdae0b6aa75a14 (diff)
downloadexternal_llvm-b5f6af644ebe504479a74341ae8b0c706e7a5fcc.zip
external_llvm-b5f6af644ebe504479a74341ae8b0c706e7a5fcc.tar.gz
external_llvm-b5f6af644ebe504479a74341ae8b0c706e7a5fcc.tar.bz2
Add comment (lost when reverting and reapplying 101503).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101664 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/InlineCost.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h
index ff1f62b..ab0b845 100644
--- a/include/llvm/Analysis/InlineCost.h
+++ b/include/llvm/Analysis/InlineCost.h
@@ -165,6 +165,8 @@ namespace llvm {
void analyzeFunction(Function *F);
};
+ // The Function* for a function can be changed (by ArgumentPromotion);
+ // the ValueMap will update itself when this happens.
ValueMap<const Function *, FunctionInfo> CachedFunctionInfo;
public: