diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-04-09 06:49:52 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-04-09 06:49:52 +0000 |
commit | ea7c5ce4771d8307c91c5cde0160cad0d76c11f5 (patch) | |
tree | 8ced9258f6961ce9a99dccde00de6fe8cad78be9 /lib/Analysis/GRExprEngine.cpp | |
parent | 8944c49287bae972c50a362525406eb0c9b7de64 (diff) |
stop using loc::SymbolVal.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 7c928f39ba..3809d593cf 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1599,8 +1599,9 @@ void GRExprEngine::VisitObjCForCollectionStmtAux(ObjCForCollectionStmt* S, QualType T = R->getRValueType(getContext()); assert (Loc::IsLocType(T)); unsigned Count = Builder->getCurrentBlockCount(); - loc::SymbolVal SymV(SymMgr.getConjuredSymbol(elem, T, Count)); - hasElems = hasElems.BindLoc(ElementV, SymV); + SymbolRef Sym = SymMgr.getConjuredSymbol(elem, T, Count); + SVal V = Loc::MakeVal(getStoreManager().getRegionManager().getSymbolicRegion(Sym)); + hasElems = hasElems.BindLoc(ElementV, V); // Bind the location to 'nil' on the false branch. SVal nilV = loc::ConcreteInt(getBasicVals().getValue(0, T)); |