[cfe-commits] r68691 - /cfe/trunk/lib/Analysis/CFRefCount.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Wed Apr 8 23:18:16 PDT 2009
Author: zhongxingxu
Date: Thu Apr 9 01:18:05 2009
New Revision: 68691
URL: http://llvm.org/viewvc/llvm-project?rev=68691&view=rev
Log:
make a conjured symbol as the original code.
Modified:
cfe/trunk/lib/Analysis/CFRefCount.cpp
Modified: cfe/trunk/lib/Analysis/CFRefCount.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFRefCount.cpp?rev=68691&r1=68690&r2=68691&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Thu Apr 9 01:18:05 2009
@@ -1760,8 +1760,8 @@
QualType T = R->getRValueType(Ctx);
if (Loc::IsLocType(T) || (T->isIntegerType() && T->isScalarType())){
- SVal V = SVal::GetRValueSymbolVal(Eng.getSymbolManager(),
- Eng.getStoreManager().getRegionManager(), R);
+ SVal V = SVal::GetConjuredSymbolVal(Eng.getSymbolManager(),
+ Eng.getStoreManager().getRegionManager(), *I, Count);
state = state.BindLoc(Loc::MakeVal(R), V);
}
else if (const RecordType *RT = T->getAsStructureType()) {
More information about the cfe-commits
mailing list