From 40934cfa9b97cce0a481c0116d84d8545c44b37b Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Thu, 9 Apr 2009 06:18:05 +0000 Subject: [PATCH] make a conjured symbol as the original code. llvm-svn: 68691 --- clang/lib/Analysis/CFRefCount.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index cab14396d1d5..9f48fffc28ed 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -1760,8 +1760,8 @@ void CFRefCount::EvalSummary(ExplodedNodeSet& Dst, QualType T = R->getRValueType(Ctx); if (Loc::IsLocType(T) || (T->isIntegerType() && T->isScalarType())){ - SVal V = SVal::GetRValueSymbolVal(Eng.getSymbolManager(), - Eng.getStoreManager().getRegionManager(), R); + SVal V = SVal::GetConjuredSymbolVal(Eng.getSymbolManager(), + Eng.getStoreManager().getRegionManager(), *I, Count); state = state.BindLoc(Loc::MakeVal(R), V); } else if (const RecordType *RT = T->getAsStructureType()) {