1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
llvm-svn: 385
This commit is contained in:
Chris Lattner 2001-08-27 18:54:45 +00:00
parent 6336546710
commit f3b74b4736

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;