diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-08 23:28:07 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-08 23:28:07 +0000 |
commit | a3eda83f4794dcf18d3f60bb446449b987661f2e (patch) | |
tree | b530326bd6b6e1cfd7788f56cf2ee62a6ad16077 /lib/Analysis/RegionStore.cpp | |
parent | 9d9d3a67bd690eb8beaa9dab4a56c89967613083 (diff) |
Fix PR4182.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 7f103dfab2..017526cb83 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -1063,10 +1063,10 @@ Store RegionStoreManager::RemoveDeadBindings(const GRState* state, Stmt* Loc, // Get the current set of subregions for SuperR. const SubRegionsTy* SRptr = SubRegMap.lookup(SuperR); - SubRegionsTy SR = SRptr ? *SRptr : SubRegF.GetEmptySet(); + SubRegionsTy SRs = SRptr ? *SRptr : SubRegF.GetEmptySet(); // Add R to the subregions of SuperR. - SubRegMap = SubRegMapF.Add(SubRegMap, SuperR, SubRegF.Add(SR, R)); + SubRegMap = SubRegMapF.Add(SubRegMap, SuperR, SubRegF.Add(SRs, R)); // Super region may be VarRegion or subregion of another VarRegion. Add it // to the work list. |