mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
switch to use the new api for structtypes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -326,7 +326,7 @@ void ValueEnumerator::EnumerateType(Type *Ty) {
|
||||
// don't recursively visit it. This is safe because we allow forward
|
||||
// references of these in the bitcode reader.
|
||||
if (StructType *STy = dyn_cast<StructType>(Ty))
|
||||
if (!STy->isAnonymous())
|
||||
if (!STy->isLiteral())
|
||||
*TypeID = ~0U;
|
||||
|
||||
// Enumerate all of the subtypes before we enumerate this type. This ensures
|
||||
|
Reference in New Issue
Block a user