1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

More deleted type improvements

This commit is contained in:
Brian Fiete 2025-03-21 16:34:31 -04:00
parent a240acc674
commit c25f750bd5
2 changed files with 29 additions and 3 deletions

View file

@ -1294,7 +1294,11 @@ void BfModule::SetupIRBuilder(bool dbgVerifyCodeGen)
void BfModule::EnsureIRBuilder(bool dbgVerifyCodeGen)
{
BF_ASSERT(!mIsDeleting);
if (mIsDeleting)
{
mCompiler->RequestExtraCompile();
InternalError("EnsureIRBuilder on deleted module");
}
if (mBfIRBuilder == NULL)
{