Add comment (lost when reverting and reapplying 101503).
authorDale Johannesen <dalej@apple.com>
Sat, 17 Apr 2010 19:56:46 +0000 (19:56 +0000)
committerDale 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

index ff1f62b3b6337b99701088851ed98735b5047555..ab0b84524af1ee461b717d751f95458620ea8589 100644 (file)
@@ -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: