mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
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:
parent
ba13d2efba
commit
1c2fe28109
@ -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…
x
Reference in New Issue
Block a user