Revert r147978. A DenseMap's iterators may become invalidated here.
authorBill Wendling <isanbard@gmail.com>
Wed, 11 Jan 2012 23:43:34 +0000 (23:43 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 11 Jan 2012 23:43:34 +0000 (23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147980 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LazyValueInfo.cpp

index 540a73bcb2f3555e40bfb08f7ec1a9448a480041..d27d911610386963d304a334918c80213f2b1ae5 100644 (file)
@@ -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.