1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fixing broken dll imports

This commit is contained in:
Brian Fiete 2019-09-26 08:28:45 -07:00
parent d62b777197
commit 5b34fb1948

View file

@ -4105,7 +4105,8 @@ 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());