aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/InlineCost.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-04-17 00:08:21 +0000
committerDale Johannesen <dalej@apple.com>2010-04-17 00:08:21 +0000
commitab89ff78419cf0dfa6360c7b142b9fb1490866b7 (patch)
tree94c65148e8c2b81921102119107924a7043edaba /include/llvm/Analysis/InlineCost.h
parent7e3e3252a187d10df89701fec292ef159362880e (diff)
downloadexternal_llvm-ab89ff78419cf0dfa6360c7b142b9fb1490866b7.zip
external_llvm-ab89ff78419cf0dfa6360c7b142b9fb1490866b7.tar.gz
external_llvm-ab89ff78419cf0dfa6360c7b142b9fb1490866b7.tar.bz2
Reapply 101503+101520. These are "obviously correct" [Chris]
and don't cause any problems on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/InlineCost.h')
-rw-r--r--include/llvm/Analysis/InlineCost.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h
index 066b943..ff1f62b 100644
--- a/include/llvm/Analysis/InlineCost.h
+++ b/include/llvm/Analysis/InlineCost.h
@@ -16,9 +16,9 @@
#include <cassert>
#include <climits>
-#include <map>
#include <vector>
#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/ValueMap.h"
namespace llvm {
@@ -165,7 +165,7 @@ namespace llvm {
void analyzeFunction(Function *F);
};
- std::map<const Function *, FunctionInfo> CachedFunctionInfo;
+ ValueMap<const Function *, FunctionInfo> CachedFunctionInfo;
public: