aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRState.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-08-20 16:59:15 +0000
committerTed Kremenek <kremenek@apple.com>2008-08-20 16:59:15 +0000
commit4f7b483b7e9ba0170a8c1cd3d8be3e972b31fe36 (patch)
tree6b91578c6db786c134f712cd566c23692038953d /lib/Analysis/GRState.cpp
parenta9f5496df43d0fcafc9c1e16a6ffba93cb00fe11 (diff)
Patch by Zhongxing Xu: We should set back the modified ConstEq map.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRState.cpp')
-rw-r--r--lib/Analysis/GRState.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/GRState.cpp b/lib/Analysis/GRState.cpp
index 23467e2046..c9494fe7ea 100644
--- a/lib/Analysis/GRState.cpp
+++ b/lib/Analysis/GRState.cpp
@@ -144,7 +144,8 @@ GRStateManager::RemoveDeadBindings(const GRState* St, Stmt* Loc,
CE = CEFactory.Remove(CE, sym);
}
}
-
+ state = state.set<ConstEqTy>(CE);
+
ConstNotEqTy CNE = state.get<ConstNotEqTy>();
ConstNotEqTy::Factory& CNEFactory = state.get_context<ConstNotEqTy>();