[cfe-commits] r68697 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Zhongxing Xu xuzhongxing at gmail.com
Wed Apr 8 23:49:52 PDT 2009


Author: zhongxingxu
Date: Thu Apr  9 01:49:52 2009
New Revision: 68697

URL: http://llvm.org/viewvc/llvm-project?rev=68697&view=rev
Log:
stop using loc::SymbolVal.

Modified:
    cfe/trunk/lib/Analysis/GRExprEngine.cpp

Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=68697&r1=68696&r2=68697&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Thu Apr  9 01:49:52 2009
@@ -1599,8 +1599,9 @@
       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));      





More information about the cfe-commits mailing list