mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Don't depend on auto data conversion
llvm-svn: 11229
This commit is contained in:
parent
16690fad3d
commit
255269e677
@ -90,7 +90,7 @@ static void PruneTypes(const Type *Ty,
|
||||
//
|
||||
for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
|
||||
I != E; ++I) {
|
||||
if (!isa<PointerType>(*I))
|
||||
if (!isa<PointerType>(I->get()))
|
||||
PruneTypes(*I, TypesToModify, ProcessedTypes);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user