stop using loc::SymbolVal.

llvm-svn: 68695
This commit is contained in:
Zhongxing Xu 2009-04-09 06:41:51 +00:00
parent 4a8f0cf874
commit 0c87a4e79b
1 changed files with 4 additions and 2 deletions

View File

@ -1887,8 +1887,10 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
SymbolRef Sym = Eng.getSymbolManager().getConjuredSymbol(Ex, Count);
QualType RetT = GetReturnType(Ex, Eng.getContext());
state =
state.set<RefBindings>(Sym, RefVal::makeOwned(RE.getObjKind(), RetT));
state = state.BindExpr(Ex, loc::SymbolVal(Sym), false);
state.set<RefBindings>(Sym, RefVal::makeOwned(RE.getObjKind(), RetT));
MemRegionManager& MRMgr = Eng.getStoreManager().getRegionManager();
state = state.BindExpr(Ex, Loc::MakeVal(MRMgr.getSymbolicRegion(Sym)),
false);
// FIXME: Add a flag to the checker where allocations are assumed to