mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
I suck
llvm-svn: 385
This commit is contained in:
parent
6336546710
commit
f3b74b4736
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user