mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed mDeclModule changes from this morning
This commit is contained in:
parent
3616305378
commit
43b78a6c25
3 changed files with 21 additions and 15 deletions
|
@ -4097,10 +4097,10 @@ void BfModule::AddMethodToWorkList(BfMethodInstance* methodInstance)
|
|||
return;
|
||||
}
|
||||
|
||||
if ((!mCompiler->mIsResolveOnly) && (!methodInstance->mIRFunction) && (methodInstance->mIsReified) && (!methodInstance->mIsUnspecialized))
|
||||
if ((!methodInstance->mIRFunction) && (methodInstance->mIsReified) && (!methodInstance->mIsUnspecialized))
|
||||
{
|
||||
if (!mIsModuleMutable)
|
||||
StartExtension();
|
||||
PrepareForIRWriting(methodInstance->GetOwner());
|
||||
|
||||
BfIRValue func = CreateFunctionFrom(methodInstance, false, methodInstance->mAlwaysInline);
|
||||
methodInstance->mIRFunction = func;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue