1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +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

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