summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRState.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-08-02 04:45:08 +0000
committerTed Kremenek <kremenek@apple.com>2009-08-02 04:45:08 +0000
commitcee28a4c4dd944d11a3336ab8ff782879adde3d0 (patch)
tree8330f6e56fd6cd07cdf7625bb6bc2498435e633b /clang/lib/Analysis/GRState.cpp
parentd45a7860ecbecc3db73d22859918e6e337ae4a53 (diff)
downloadbcm5719-llvm-cee28a4c4dd944d11a3336ab8ff782879adde3d0.tar.gz
bcm5719-llvm-cee28a4c4dd944d11a3336ab8ff782879adde3d0.zip
Generalize the interface of 'StoreManager::RemoveDeadBindings()' to manipulate the entire GRState, not just the Store.
llvm-svn: 77870
Diffstat (limited to 'clang/lib/Analysis/GRState.cpp')
-rw-r--r--clang/lib/Analysis/GRState.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Analysis/GRState.cpp b/clang/lib/Analysis/GRState.cpp
index 5728aae3fff..dc7c799288c 100644
--- a/clang/lib/Analysis/GRState.cpp
+++ b/clang/lib/Analysis/GRState.cpp
@@ -50,8 +50,7 @@ GRStateManager::RemoveDeadBindings(const GRState* state, Stmt* Loc,
state, RegionRoots);
// Clean up the store.
- NewState.St = StoreMgr->RemoveDeadBindings(&NewState, Loc, SymReaper,
- RegionRoots);
+ StoreMgr->RemoveDeadBindings(NewState, Loc, SymReaper, RegionRoots);
return ConstraintMgr->RemoveDeadBindings(getPersistentState(NewState),
SymReaper);
OpenPOWER on IntegriCloud