[cfe-commits] r71288 - /cfe/trunk/lib/Analysis/RegionStore.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Fri May 8 16:28:07 PDT 2009
Author: zhongxingxu
Date: Fri May 8 18:28:07 2009
New Revision: 71288
URL: http://llvm.org/viewvc/llvm-project?rev=71288&view=rev
Log:
Fix PR4182.
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=71288&r1=71287&r2=71288&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Fri May 8 18:28:07 2009
@@ -1063,10 +1063,10 @@
// 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.
More information about the cfe-commits
mailing list