mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
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:
parent
d21cd809b6
commit
68b86f4f41
@ -90,7 +90,7 @@ static void PruneTypes(const Type *Ty,
|
|||||||
//
|
//
|
||||||
for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
|
for (Type::subtype_iterator I = Ty->subtype_begin(), E = Ty->subtype_end();
|
||||||
I != E; ++I) {
|
I != E; ++I) {
|
||||||
if (!isa<PointerType>(*I))
|
if (!isa<PointerType>(I->get()))
|
||||||
PruneTypes(*I, TypesToModify, ProcessedTypes);
|
PruneTypes(*I, TypesToModify, ProcessedTypes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user