mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Remove wierd case that can never happen
llvm-svn: 5623
This commit is contained in:
parent
38e874dd6e
commit
b1aeaf7efb
@ -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…
Reference in New Issue
Block a user