Remove some dead, commented out code Duncan spotted in review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2012-09-14 10:18:53 +00:00
parent ba13d2efba
commit 1c2fe28109

View File

@ -546,8 +546,6 @@ private:
}
bool visitGetElementPtrInst(GetElementPtrInst &GEPI) {
//unsigned IntPtrWidth = TD->getPointerSizeInBits();
//assert(IntPtrWidth == Offset.getBitWidth());
uint64_t GEPOffset;
if (!computeConstantGEPOffset(GEPI, GEPOffset))
return markAsEscaping(GEPI);
@ -815,8 +813,6 @@ private:
if (GEPI.use_empty())
return markAsDead(GEPI);
//unsigned IntPtrWidth = TD->getPointerSizeInBits();
//assert(IntPtrWidth == Offset.getBitWidth());
uint64_t GEPOffset;
if (!computeConstantGEPOffset(GEPI, GEPOffset))
llvm_unreachable("Unable to compute constant offset for use");