projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd0d49
)
Add comment (lost when reverting and reapplying 101503).
author
Dale Johannesen
<dalej@apple.com>
Sat, 17 Apr 2010 19:56:46 +0000
(19:56 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Sat, 17 Apr 2010 19:56:46 +0000
(19:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101664
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/InlineCost.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/InlineCost.h
b/include/llvm/Analysis/InlineCost.h
index ff1f62b3b6337b99701088851ed98735b5047555..ab0b84524af1ee461b717d751f95458620ea8589 100644
(file)
--- 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: