From 39cfed397baf1ffca0ab85cfa3d03087fe80e2cc Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Fri, 29 Aug 2008 14:52:36 +0000 Subject: Migrate the rest symbolic analysis stuff to BasicConstraintManager. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55536 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/CFRefCount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis/CFRefCount.cpp') diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 3ed4894fa1..8ea8301134 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -1905,7 +1905,7 @@ const GRState* CFRefCount::EvalAssume(GRStateManager& VMgr, for (RefBindings::iterator I=B.begin(), E=B.end(); I!=E; ++I) { // Check if the symbol is null (or equal to any constant). // If this is the case, stop tracking the symbol. - if (St->getSymVal(I.getKey())) { + if (VMgr.getSymVal(St, I.getKey())) { changed = true; B = RefBFactory.Remove(B, I.getKey()); } -- cgit v1.2.3