summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit2543e303e13bebf674465a291d05f8b96ec9397a (patch)
treef51aac190147e87263eba1f84fa372ddb593db06 /llvm
parentdddbcba2708bded39876a6d943245bc0c6c9bf3c (diff)
downloadbcm5719-llvm-2543e303e13bebf674465a291d05f8b96ec9397a.tar.gz
bcm5719-llvm-2543e303e13bebf674465a291d05f8b96ec9397a.zip
Reapply 101503+101520. These are "obviously correct" [Chris]
and don't cause any problems on Darwin. llvm-svn: 101584
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/InlineCost.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Analysis/InlineCost.h b/llvm/include/llvm/Analysis/InlineCost.h
index 066b9439689..ff1f62b3b63 100644
--- a/llvm/include/llvm/Analysis/InlineCost.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud