mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 17:04:37 +02:00
JIT: Fix redundant MOVs in x86 trampolines
Fixes spammy log messages about redundant MOVs.
This commit is contained in:
@@ -86,7 +86,8 @@ const u8* TrampolineCache::GenerateReadTrampoline(const InstructionInfo &info, B
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
MOV(dataRegSize, R(dataReg), R(ABI_RETURN));
|
if (dataReg != ABI_RETURN)
|
||||||
|
MOV(dataRegSize, R(dataReg), R(ABI_RETURN));
|
||||||
|
|
||||||
ABI_PopRegistersAndAdjustStack(registersInUse, 8);
|
ABI_PopRegistersAndAdjustStack(registersInUse, 8);
|
||||||
RET();
|
RET();
|
||||||
|
Reference in New Issue
Block a user