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

Type deletion protection in mPopulateTypeWorkList

This commit is contained in:
Brian Fiete 2022-05-16 10:56:20 -07:00
parent 667642ca52
commit c73cf12f5e
2 changed files with 4 additions and 4 deletions

View file

@ -464,7 +464,8 @@ bool BfContext::ProcessWorkList(bool onlyReifiedTypes, bool onlyReifiedMethods)
else
useModule = mUnreifiedModule;
}
useModule->PopulateType(type, BfPopulateType_Full);
if (!type->IsDeleting())
useModule->PopulateType(type, BfPopulateType_Full);
mCompiler->mStats.mQueuedTypesProcessed++;
mCompiler->UpdateCompletion();
didWork = true;