Merge pull request #1217 from lioncash/tcast

TrampolineCache: Remove unnecessary cast
This commit is contained in:
comex 2014-10-04 00:19:08 -04:00
commit 47bf698b70
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ const u8 *TrampolineCache::GetReadTrampoline(const InstructionInfo &info, u32 re
ABI_PushRegistersAndAdjustStack(registersInUse, 8);
if (addrReg != ABI_PARAM1)
MOV(32, R(ABI_PARAM1), R((X64Reg)addrReg));
MOV(32, R(ABI_PARAM1), R(addrReg));
if (info.displacement)
ADD(32, R(ABI_PARAM1), Imm32(info.displacement));