Don't depend on auto data conversion

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11229 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-09 05:16:30 +00:00
parent d21cd809b6
commit 68b86f4f41

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