x64 JIT: remove unecessary MOV

This commit is contained in:
RSDuck 2020-07-27 13:49:13 +02:00
parent 0e7df468c7
commit 17ce4d2a73
1 changed files with 2 additions and 1 deletions

View File

@ -330,7 +330,8 @@ Compiler::Compiler()
if (num == 0)
{
MOV(64, R(ABI_PARAM2), R(RCPU));
MOV(32, R(ABI_PARAM3), R(rdMapped));
if (rdMapped != ABI_PARAM3)
MOV(32, R(ABI_PARAM3), R(rdMapped));
}
else
{