mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Merge pull request #1753 from FioraAeterna/fixredundantmov
JIT: Fix redundant MOVs in x86 trampolines
This commit is contained in:
commit
8cd23f5334
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ const u8* TrampolineCache::GenerateReadTrampoline(const InstructionInfo &info, B
|
|||
break;
|
||||
}
|
||||
|
||||
MOV(dataRegSize, R(dataReg), R(ABI_RETURN));
|
||||
if (dataReg != ABI_RETURN)
|
||||
MOV(dataRegSize, R(dataReg), R(ABI_RETURN));
|
||||
|
||||
ABI_PopRegistersAndAdjustStack(registersInUse, 8);
|
||||
RET();
|
||||
|
|
Loading…
Add table
Reference in a new issue