Small fix.

llvm-svn: 104669
This commit is contained in:
Zhongxing Xu 2010-05-26 03:36:08 +00:00
parent d4f1294f1e
commit eb4fc4a64c
1 changed files with 1 additions and 1 deletions

View File

@ -1863,7 +1863,7 @@ const GRState *RegionStoreManager::RemoveDeadBindings(GRState &state, Stmt* Loc,
state.setStore(B.getRoot());
const GRState *s = StateMgr.getPersistentState(state);
// Remove the extents of dead symbolic regions.
llvm::ImmutableMap<const MemRegion*,SVal> Extents =state.get<RegionExtents>();
llvm::ImmutableMap<const MemRegion*,SVal> Extents = s->get<RegionExtents>();
for (llvm::ImmutableMap<const MemRegion *, SVal>::iterator I=Extents.begin(),
E = Extents.end(); I != E; ++I) {
if (!W.isVisited(I->first))