1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Improved emit marker when specialized type has no emission

This commit is contained in:
Brian Fiete 2022-04-27 08:00:21 -07:00
parent 5083f5d64e
commit e852ba49bb

View file

@ -9781,8 +9781,6 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetCollapseRegions(BfCompiler* bfCo
continue; continue;
if (typeHashSet.Contains(typeInst->mTypeDef->GetLatest())) if (typeHashSet.Contains(typeInst->mTypeDef->GetLatest()))
{
if (typeInst->IsSpecializedType())
{ {
if (typeInst->mCeTypeInfo == NULL) if (typeInst->mCeTypeInfo == NULL)
continue; continue;
@ -9807,7 +9805,6 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetCollapseRegions(BfCompiler* bfCo
} }
} }
} }
}
for (auto typeDef : bfParser->mTypeDefs) for (auto typeDef : bfParser->mTypeDefs)
{ {