From 0ae14f5a5d24ee874f7ec407e6233dbd2030171a Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 2 Apr 2020 10:08:13 -0700 Subject: [PATCH] Fixed forceLink awareness of inlines --- IDEHelper/Compiler/BfModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index d8a57b92..9aa758cb 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -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;