[llvm-branch-commits] [cfe-branch] r71325 - /cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp

Mike Stump mrs at apple.com
Fri May 8 23:09:36 PDT 2009


Author: mrs
Date: Sat May  9 01:09:35 2009
New Revision: 71325

URL: http://llvm.org/viewvc/llvm-project?rev=71325&view=rev
Log:
Merge in 71060:

remove commented code.

Modified:
    cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp

Modified: cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp?rev=71325&r1=71324&r2=71325&view=diff

==============================================================================
--- cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp (original)
+++ cfe/branches/Apple/Dib/lib/Analysis/RegionStore.cpp Sat May  9 01:09:35 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 llvm-branch-commits mailing list