[Android] in CArmRecompilerOps::CompileInterpterCall load the variable after BeforeCallDirect
This commit is contained in:
parent
9a6c8419e9
commit
bd2d5b507a
|
@ -4490,8 +4490,10 @@ void CArmRecompilerOps::UpdateCounters(CRegInfo & RegSet, bool CheckTimer, bool
|
||||||
|
|
||||||
void CArmRecompilerOps::CompileInterpterCall(void * Function, const char * FunctionName)
|
void CArmRecompilerOps::CompileInterpterCall(void * Function, const char * FunctionName)
|
||||||
{
|
{
|
||||||
MoveConstToVariable(m_Opcode.Hex, (void *)&R4300iOp::m_Opcode.Hex, "&R4300iOp::m_Opcode.Hex");
|
|
||||||
m_RegWorkingSet.BeforeCallDirect();
|
m_RegWorkingSet.BeforeCallDirect();
|
||||||
|
MoveConstToArmReg(Arm_R1, m_Opcode.Hex);
|
||||||
|
MoveConstToArmReg(Arm_R2, (uint32_t)(void *)&R4300iOp::m_Opcode.Hex, "&R4300iOp::m_Opcode.Hex");
|
||||||
|
StoreArmRegToArmRegPointer(Arm_R1, Arm_R2, 0);
|
||||||
CallFunction(Function, FunctionName);
|
CallFunction(Function, FunctionName);
|
||||||
m_RegWorkingSet.AfterCallDirect();
|
m_RegWorkingSet.AfterCallDirect();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue