aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-04-09 06:18:05 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-04-09 06:18:05 +0000
commit9e82acb49d2fc1bc7e2ca4e0a489dc2b3d145c7b (patch)
treebdb76ac2bf0459a86cf7ddf6dd55e1f450023a97 /lib/Analysis/CFRefCount.cpp
parent51ae79044d735796d2e87fb66bf86063590d4d20 (diff)
make a conjured symbol as the original code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index cab14396d1..9f48fffc28 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -1760,8 +1760,8 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& 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()) {