make a conjured symbol as the original code.

llvm-svn: 68691
This commit is contained in:
Zhongxing Xu 2009-04-09 06:18:05 +00:00
parent bcd2632638
commit 40934cfa9b
1 changed files with 2 additions and 2 deletions

View File

@ -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()) {