mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixing broken dll imports
This commit is contained in:
parent
d62b777197
commit
5b34fb1948
1 changed files with 4 additions and 3 deletions
|
@ -4105,12 +4105,13 @@ void BfModule::AddMethodToWorkList(BfMethodInstance* methodInstance)
|
|||
return;
|
||||
}
|
||||
|
||||
if ((!methodInstance->mIRFunction) && (methodInstance->mIsReified) && (!methodInstance->mIsUnspecialized))
|
||||
if ((!methodInstance->mIRFunction) && (methodInstance->mIsReified) && (!methodInstance->mIsUnspecialized) &&
|
||||
(methodInstance->GetImportCallKind() == BfImportCallKind_None))
|
||||
{
|
||||
if (!mIsModuleMutable)
|
||||
PrepareForIRWriting(methodInstance->GetOwner());
|
||||
|
||||
BfIRValue func = CreateFunctionFrom(methodInstance, false, methodInstance->mAlwaysInline);
|
||||
|
||||
BfIRValue func = CreateFunctionFrom(methodInstance, false, methodInstance->mAlwaysInline);
|
||||
methodInstance->mIRFunction = func;
|
||||
mFuncReferences[methodInstance] = func;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue