llvm-svn: 385
This commit is contained in:
Chris Lattner 2001-08-27 18:54:45 +00:00
parent 53bbf0783b
commit b6aa2334f4
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ unsigned char TargetData::getTypeAlignment(const Type *Ty) const {
unsigned TargetData::getIndexedOffset(const Type *ptrTy,
const vector<ConstPoolVal*> &Idx) const {
const PointerType *PtrTy = PtrTy->isPointerType(); // Returns null if not
const PointerType *PtrTy = ptrTy->isPointerType(); // Returns null if not
assert(PtrTy && "getIndexedOffset on nonpointer!");
unsigned Result = 0;