mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Remove dead variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1515 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4b051135c
commit
3d0fda2f56
@ -168,7 +168,7 @@ unsigned TargetData::getIndexedOffset(const Type *ptrTy,
|
||||
// Update Ty to refer to current element
|
||||
Ty = STy->getElementTypes()[FieldNo];
|
||||
|
||||
} else if (const ArrayType *ATy = dyn_cast<const ArrayType>(Ty)) {
|
||||
} else if (isa<const ArrayType>(Ty)) {
|
||||
assert(0 && "Loading from arrays not implemented yet!");
|
||||
} else {
|
||||
assert(0 && "Indexing type that is not struct or array?");
|
||||
|
Loading…
Reference in New Issue
Block a user