[cfe-commits] r84398 - /cfe/trunk/lib/Analysis/RegionStore.cpp

Zhongxing Xu xuzhongxing at gmail.com
Sat Oct 17 21:15:47 PDT 2009


Author: zhongxingxu
Date: Sat Oct 17 23:15:47 2009
New Revision: 84398

URL: http://llvm.org/viewvc/llvm-project?rev=84398&view=rev
Log:
use DenseSet instead of SmallSet.

Modified:
    cfe/trunk/lib/Analysis/RegionStore.cpp

Modified: cfe/trunk/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/RegionStore.cpp?rev=84398&r1=84397&r2=84398&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Sat Oct 17 23:15:47 2009
@@ -1630,7 +1630,7 @@
   // Process the "intermediate" roots to find if they are referenced by
   // real roots.
   llvm::SmallVector<RBDNode, 10> WorkList;
-  llvm::SmallSet<const MemRegion*, 10> IntermediateVisited;
+  llvm::DenseSet<const MemRegion*> IntermediateVisited;
   
   while (!IntermediateRoots.empty()) {
     const MemRegion* R = IntermediateRoots.back();
@@ -1665,7 +1665,7 @@
   }
   RegionRoots.clear();
   
-  llvm::SmallSet<RBDNode, 10> Visited;
+  llvm::DenseSet<RBDNode> Visited;
   
   while (!WorkList.empty()) {
     RBDNode N = WorkList.back();





More information about the cfe-commits mailing list