[cfe-commits] r98161 - /cfe/trunk/lib/Checker/RegionStore.cpp
Ted Kremenek
kremenek at apple.com
Wed Mar 10 08:38:44 PST 2010
Author: kremenek
Date: Wed Mar 10 10:38:44 2010
New Revision: 98161
URL: http://llvm.org/viewvc/llvm-project?rev=98161&view=rev
Log:
Remove the subregion map cache. It is no longer used.
Modified:
cfe/trunk/lib/Checker/RegionStore.cpp
Modified: cfe/trunk/lib/Checker/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/RegionStore.cpp?rev=98161&r1=98160&r2=98161&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/RegionStore.cpp (original)
+++ cfe/trunk/lib/Checker/RegionStore.cpp Wed Mar 10 10:38:44 2010
@@ -201,20 +201,12 @@
const RegionStoreFeatures Features;
RegionBindings::Factory RBFactory;
- typedef llvm::DenseMap<Store, RegionStoreSubRegionMap*> SMCache;
- SMCache SC;
-
public:
RegionStoreManager(GRStateManager& mgr, const RegionStoreFeatures &f)
: StoreManager(mgr),
Features(f),
RBFactory(mgr.getAllocator()) {}
- virtual ~RegionStoreManager() {
- for (SMCache::iterator I = SC.begin(), E = SC.end(); I != E; ++I)
- delete (*I).second;
- }
-
SubRegionMap *getSubRegionMap(Store store) {
return getRegionStoreSubRegionMap(store);
}
More information about the cfe-commits
mailing list