As we now have ValueManager as the new value factory, we do not need factory

methods of SVal.

llvm-svn: 69565
This commit is contained in:
Zhongxing Xu 2009-04-20 02:27:09 +00:00
parent 7de03e1950
commit 23e1f45664
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ SVal ValueManager::getConjuredSymbolVal(const Expr* E, QualType T,
SVal ValueManager::getFunctionPointer(const FunctionDecl* FD) {
CodeTextRegion* R
= MemMgr.getCodeTextRegion(FD, Context.getPointerType(FD->getType()));
return Loc::MakeVal(R);
return loc::MemRegionVal(R);
}
nonloc::LocAsInteger nonloc::LocAsInteger::Make(BasicValueFactory& Vals, Loc V,