1
0
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:
Chris Lattner 2004-02-09 05:16:30 +00:00
parent 16690fad3d
commit 255269e677

View File

@ -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);
}
}