From 6800b334e5390452c6f921dbb832dfbfce371359 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Sun, 18 Oct 2009 04:15:47 +0000 Subject: [PATCH] use DenseSet instead of SmallSet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84398 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/RegionStore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 400934d50e..35eb5b7019 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -1630,7 +1630,7 @@ void RegionStoreManager::RemoveDeadBindings(GRState &state, Stmt* Loc, // Process the "intermediate" roots to find if they are referenced by // real roots. llvm::SmallVector WorkList; - llvm::SmallSet IntermediateVisited; + llvm::DenseSet IntermediateVisited; while (!IntermediateRoots.empty()) { const MemRegion* R = IntermediateRoots.back(); @@ -1665,7 +1665,7 @@ void RegionStoreManager::RemoveDeadBindings(GRState &state, Stmt* Loc, } RegionRoots.clear(); - llvm::SmallSet Visited; + llvm::DenseSet Visited; while (!WorkList.empty()) { RBDNode N = WorkList.back(); -- 2.40.0