[cfe-commits] r68699 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Wed Apr 8 23:56:25 PDT 2009
Author: zhongxingxu
Date: Thu Apr 9 01:56:25 2009
New Revision: 68699
URL: http://llvm.org/viewvc/llvm-project?rev=68699&view=rev
Log:
clean up code with new API.
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=68699&r1=68698&r2=68699&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Thu Apr 9 01:56:25 2009
@@ -2758,11 +2758,9 @@
&& (Loc::IsLocType(T) ||
(T->isScalarType() && T->isIntegerType()))) {
unsigned Count = Builder->getCurrentBlockCount();
- SymbolRef Sym = SymMgr.getConjuredSymbol(B->getRHS(), Count);
- RightV = Loc::IsLocType(T)
- ? cast<SVal>(loc::SymbolVal(Sym))
- : cast<SVal>(nonloc::SymbolVal(Sym));
+ RightV = SVal::GetConjuredSymbolVal(SymMgr,
+ getStoreManager().getRegionManager(), B->getRHS(), Count);
}
// Simulate the effects of a "store": bind the value of the RHS
More information about the cfe-commits
mailing list