[Android] Reset reg protection after syncing registers

This commit is contained in:
zilmar 2016-11-29 16:52:47 +11:00
parent ee51bcdd36
commit 374d70da7c
1 changed files with 4 additions and 0 deletions

View File

@ -5252,6 +5252,10 @@ void CArmRecompilerOps::SyncRegState(const CRegInfo & SyncTo)
}
CPU_Message("after:");
OutputRegisterState(SyncTo, m_RegWorkingSet);
for (int32_t i = 0; i < 16; i++)
{
m_RegWorkingSet.SetArmRegProtected((ArmReg)i, false);
}
}
void CArmRecompilerOps::CompileExit(uint32_t JumpPC, uint32_t TargetPC, CRegInfo &ExitRegSet, CExitInfo::EXIT_REASON reason)