mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Removed inline requests during vdata building
This commit is contained in:
parent
2f8f936657
commit
92ccadce1e
4 changed files with 17 additions and 13 deletions
|
@ -616,6 +616,9 @@ bool BfContext::ProcessWorkList(bool onlyReifiedTypes, bool onlyReifiedMethods)
|
|||
auto module = workItem.mFromModule;
|
||||
auto methodInstance = workItem.mMethodInstance;
|
||||
|
||||
BF_ASSERT(module->mIsModuleMutable);
|
||||
module->PrepareForIRWriting(methodInstance->GetOwner());
|
||||
|
||||
workIdx = mInlineMethodWorkList.RemoveAt(workIdx);
|
||||
|
||||
BfLogSysM("Module %p inlining method %p into func:%p\n", module, methodInstance, workItem.mFunc);
|
||||
|
@ -647,7 +650,8 @@ bool BfContext::ProcessWorkList(bool onlyReifiedTypes, bool onlyReifiedMethods)
|
|||
module->mBfIRBuilder->Func_SetLinkage(workItem.mFunc, BfIRLinkageType_Internal);
|
||||
|
||||
BF_ASSERT(module->mContext == this);
|
||||
BF_ASSERT(module->mIsModuleMutable);
|
||||
BF_ASSERT(module->mIsModuleMutable);
|
||||
|
||||
if (module->WantsFinishModule())
|
||||
{
|
||||
BfLogSysM("Module finished: %s (from inlining)\n", module->mModuleName.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue