diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-01-11 23:43:34 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-01-11 23:43:34 +0000 |
commit | aa8b994c6a7302902b00313bdf249cea9e302f7f (patch) | |
tree | e483afce9009573fd17a0031ca8a1fc11bae81ce /lib/Analysis | |
parent | 9384111e90cb840e7eb867098f19910cf4c4a11d (diff) | |
download | external_llvm-aa8b994c6a7302902b00313bdf249cea9e302f7f.zip external_llvm-aa8b994c6a7302902b00313bdf249cea9e302f7f.tar.gz external_llvm-aa8b994c6a7302902b00313bdf249cea9e302f7f.tar.bz2 |
Revert r147978. A DenseMap's iterators may become invalidated here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147980 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/LazyValueInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/LazyValueInfo.cpp b/lib/Analysis/LazyValueInfo.cpp index 540a73b..d27d911 100644 --- a/lib/Analysis/LazyValueInfo.cpp +++ b/lib/Analysis/LazyValueInfo.cpp @@ -29,6 +29,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/STLExtras.h" +#include <map> #include <stack> using namespace llvm; @@ -359,7 +360,7 @@ namespace { /// ValueCacheEntryTy - This is all of the cached block information for /// exactly one Value*. The entries are sorted by the BasicBlock* of the /// entries, allowing us to do a lookup with a binary search. - typedef DenseMap<AssertingVH<BasicBlock>, LVILatticeVal> ValueCacheEntryTy; + typedef std::map<AssertingVH<BasicBlock>, LVILatticeVal> ValueCacheEntryTy; /// ValueCache - This is all of the cached information for all values, /// mapped from Value* to key information. |