mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed crash renaming mixins
This commit is contained in:
parent
cc3837ee49
commit
04f7ee4d2d
1 changed files with 6 additions and 0 deletions
|
@ -19858,6 +19858,12 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mBfIRBuilder == NULL)
|
||||||
|
{
|
||||||
|
BfLogSysM("ProcessMethod %p calling EnsureIRBuilder\n", methodInstance);
|
||||||
|
EnsureIRBuilder();
|
||||||
|
}
|
||||||
|
|
||||||
SetAndRestoreValue<bool> prevIgnoreWrites(mBfIRBuilder->mIgnoreWrites, (mWantsIRIgnoreWrites || methodInstance->mIsUnspecialized) && (!forceIRWrites));
|
SetAndRestoreValue<bool> prevIgnoreWrites(mBfIRBuilder->mIgnoreWrites, (mWantsIRIgnoreWrites || methodInstance->mIsUnspecialized) && (!forceIRWrites));
|
||||||
|
|
||||||
if ((HasCompiledOutput()) && (!mBfIRBuilder->mIgnoreWrites))
|
if ((HasCompiledOutput()) && (!mBfIRBuilder->mIgnoreWrites))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue