diff options
-rw-r--r-- | include/llvm/Analysis/InlineCost.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h index ab0b84524a..ea913bd5e6 100644 --- a/include/llvm/Analysis/InlineCost.h +++ b/include/llvm/Analysis/InlineCost.h @@ -18,7 +18,6 @@ #include <climits> #include <vector> #include "llvm/ADT/DenseMap.h" -#include "llvm/ADT/ValueMap.h" namespace llvm { @@ -165,9 +164,7 @@ 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; + std::map<const Function *, FunctionInfo> CachedFunctionInfo; public: |