diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-06 02:54:11 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-06 02:54:11 +0000 |
commit | 02f7ed72fa0d4674e2123a1bd54d7972812f8cc7 (patch) | |
tree | 0b488b01eb1b3eaae91c108e9f6bf317d723b902 /lib/Analysis/RegionStore.cpp | |
parent | b5f6e808e24e387abc84a830aae3d0ba36917bc7 (diff) |
remove commented code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 2ece31ed4c..145559e8b8 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -639,14 +639,6 @@ RegionStoreManager::CastRegion(const GRState* state, const MemRegion* R, || 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); } |