parent
61c6aeb6fe
commit
b07bf170c6
|
@ -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