diff options
author | Dale Johannesen <dalej@apple.com> | 2010-04-17 19:56:46 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-04-17 19:56:46 +0000 |
commit | b5f6af644ebe504479a74341ae8b0c706e7a5fcc (patch) | |
tree | adc8e8f934c1213026dc9f6abbc420787cd7f15f /include/llvm/Analysis | |
parent | 0dd0d49e780a1523cffc0a616ccdae0b6aa75a14 (diff) | |
download | external_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
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/InlineCost.h | 2 |
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: |