mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-16 00:33:10 +00:00
Remove wierd case that can never happen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5623 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f288ff7774
commit
e45e32d924
@ -191,9 +191,6 @@ uint64_t TargetData::getIndexedOffset(const Type *ptrTy,
|
||||
|
||||
// Update Ty to refer to current element
|
||||
Ty = STy->getElementTypes()[FieldNo];
|
||||
|
||||
} 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?");
|
||||
return 0; // Load directly through ptr
|
||||
|
Loading…
x
Reference in New Issue
Block a user