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

Fixed forceLink awareness of inlines

This commit is contained in:
Brian Fiete 2020-04-02 10:08:13 -07:00
parent 625e495291
commit 0ae14f5a5d

View file

@ -20843,8 +20843,8 @@ void BfModule::DbgFinish()
bool hasConfirmedReference = false;
for (auto& methodInstGroup : ownedType->mMethodInstanceGroups)
{
if ((methodInstGroup.IsImplemented()) && (methodInstGroup.mDefault != NULL) &&
(!methodInstGroup.mDefault->mMethodDef->mIsStatic) && (methodInstGroup.mDefault->mIsReified) &&
if ((methodInstGroup.IsImplemented()) && (methodInstGroup.mDefault != NULL) &&
(!methodInstGroup.mDefault->mMethodDef->mIsStatic) && (methodInstGroup.mDefault->mIsReified) && (!methodInstGroup.mDefault->mAlwaysInline) &&
((methodInstGroup.mOnDemandKind == BfMethodOnDemandKind_AlwaysInclude) || (methodInstGroup.mOnDemandKind == BfMethodOnDemandKind_Referenced)))
{
hasConfirmedReference = true;