diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h index ab0b84524af..ea913bd5e66 100644 --- a/include/llvm/Analysis/InlineCost.h +++ b/include/llvm/Analysis/InlineCost.h @@ -18,7 +18,6 @@ #include #include #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 CachedFunctionInfo; + std::map CachedFunctionInfo; public: