1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Properly set ignoreWrites before restoring active function

This commit is contained in:
Brian Fiete 2022-08-27 11:33:24 -07:00
parent 94377d8cda
commit 0b162c0ebd

View file

@ -22023,6 +22023,7 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup,
if (!methodDef->mIsLocalMethod)
ProcessMethod_ProcessDeferredLocals();
prevIgnoreWrites.Restore();
mBfIRBuilder->SetActiveFunction(prevActiveFunction);
if (methodState.mHotDataReferenceBuilder != NULL)