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:
parent
a240acc674
commit
c25f750bd5
2 changed files with 29 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue