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:
parent
897521f086
commit
7d9c189818
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user