Remove dead variable

llvm-svn: 1515
This commit is contained in:
Chris Lattner 2002-01-21 22:50:38 +00:00
parent 61c6aeb6fe
commit b07bf170c6
1 changed files with 1 additions and 1 deletions

View File

@ -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?");