From 04de0512c3d49c5efd349fa555d91901d780fc2d Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 24 Jul 2020 05:47:25 -0700 Subject: [PATCH] Fixed inlining issue with reflection data --- IDEHelper/Compiler/BfModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index fb4e216a..ea97b8db 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -12145,7 +12145,7 @@ BfModuleMethodInstance BfModule::GetMethodInstance(BfTypeInstance* typeInst, BfM methodInstance->mDeclModule = this; // Add this inlined def to ourselves - if ((methodInstance->mAlwaysInline) && (HasCompiledOutput()) && (!methodInstance->mIsUnspecialized)) + if ((methodInstance->mAlwaysInline) && (HasCompiledOutput()) && (!methodInstance->mIsUnspecialized) && ((flags & BfGetMethodInstanceFlag_NoInline) == 0)) { mIncompleteMethodCount++; BfInlineMethodRequest* inlineMethodRequest = mContext->mInlineMethodWorkList.Alloc();