mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Properly set ignoreWrites before restoring active function
This commit is contained in:
parent
94377d8cda
commit
0b162c0ebd
1 changed files with 1 additions and 0 deletions
|
@ -22023,6 +22023,7 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup,
|
||||||
if (!methodDef->mIsLocalMethod)
|
if (!methodDef->mIsLocalMethod)
|
||||||
ProcessMethod_ProcessDeferredLocals();
|
ProcessMethod_ProcessDeferredLocals();
|
||||||
|
|
||||||
|
prevIgnoreWrites.Restore();
|
||||||
mBfIRBuilder->SetActiveFunction(prevActiveFunction);
|
mBfIRBuilder->SetActiveFunction(prevActiveFunction);
|
||||||
|
|
||||||
if (methodState.mHotDataReferenceBuilder != NULL)
|
if (methodState.mHotDataReferenceBuilder != NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue