remove commented code.

llvm-svn: 71060
This commit is contained in:
Zhongxing Xu 2009-05-06 02:54:11 +00:00
parent 2080787636
commit b2d4a52e3f
1 changed files with 0 additions and 8 deletions

View File

@ -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);
}