[Android] Add LastStoreReg exception to CompareArmRegToConst

This commit is contained in:
zilmar 2017-01-19 17:50:59 +11:00
parent e098aacf0c
commit bafffcbf41
1 changed files with 4 additions and 0 deletions

View File

@ -402,6 +402,10 @@ void CArmOps::MoveConstToArmRegTop(ArmReg DestReg, uint16_t Const, const char *
void CArmOps::CompareArmRegToConst(ArmReg Reg, uint32_t value)
{
if (Reg == m_LastStoreReg)
{
ArmNop();
}
PreOpCheck(false,__FILE__,__LINE__);
if (Reg <= 0x7 && (value & 0xFFFFFF00) == 0)