1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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

llvm-svn: 163889
This commit is contained in:
Chandler Carruth 2012-09-14 10:18:53 +00:00
parent 897521f086
commit 7d9c189818

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");