[cfe-commits] r71060 - /cfe/trunk/lib/Analysis/RegionStore.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Tue May 5 19:54:11 PDT 2009
Author: zhongxingxu
Date: Tue May 5 21:54:11 2009
New Revision: 71060
URL: http://llvm.org/viewvc/llvm-project?rev=71060&view=rev
Log:
remove commented code.
Modified:
cfe/trunk/lib/Analysis/RegionStore.cpp
Modified: cfe/trunk/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/RegionStore.cpp?rev=71060&r1=71059&r2=71060&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Tue May 5 21:54:11 2009
@@ -639,14 +639,6 @@
|| isa<ObjCIvarRegion>(R) || isa<CompoundLiteralRegion>(R)) {
// FIXME: create an ElementRegion when the size of the pointee type is
// smaller than the region.
- //unsigned PointeeSize = getSizeInBits(PointeeTy);
- //unsigned RegionSize = getSizeInBits(R);
-// if (PointeeSize < RegionSize) {
-// SVal Idx = ValMgr.makeZeroArrayIndex();
-// ElementRegion* ER = MRMgr.getElementRegion(Pointee, Idx, R);
-// return CastResult(state, ER);
-// }
-// else
return CastResult(state, R);
}
More information about the cfe-commits
mailing list