diff options
-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 ff1f62b3b6..ab0b84524a 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: |