mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 18:32:49 -06:00
macro_jit_x64: Remove METHOD_ADDRESS_64
Unnecessary variable.
This commit is contained in:
parent
a6a43a5ae0
commit
389549b80d
1 changed files with 1 additions and 2 deletions
|
@ -20,7 +20,6 @@ static const Xbyak::Reg64 STATE = Xbyak::util::r11;
|
||||||
static const Xbyak::Reg64 NEXT_PARAMETER = Xbyak::util::r12;
|
static const Xbyak::Reg64 NEXT_PARAMETER = Xbyak::util::r12;
|
||||||
static const Xbyak::Reg32 RESULT = Xbyak::util::r13d;
|
static const Xbyak::Reg32 RESULT = Xbyak::util::r13d;
|
||||||
static const Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d;
|
static const Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d;
|
||||||
static const Xbyak::Reg64 METHOD_ADDRESS_64 = Xbyak::util::r14;
|
|
||||||
static const Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15;
|
static const Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15;
|
||||||
|
|
||||||
static const std::bitset<32> PERSISTENT_REGISTERS = Common::X64::BuildRegSet({
|
static const std::bitset<32> PERSISTENT_REGISTERS = Common::X64::BuildRegSet({
|
||||||
|
@ -328,7 +327,7 @@ void Tegra::MacroJITx64Impl::Compile_Send(Xbyak::Reg32 value) {
|
||||||
and_(METHOD_ADDRESS, 0xfff);
|
and_(METHOD_ADDRESS, 0xfff);
|
||||||
shr(ecx, 12);
|
shr(ecx, 12);
|
||||||
and_(ecx, 0x3f);
|
and_(ecx, 0x3f);
|
||||||
lea(eax, ptr[rcx + METHOD_ADDRESS_64]);
|
lea(eax, ptr[rcx + METHOD_ADDRESS.cvt64()]);
|
||||||
sal(ecx, 12);
|
sal(ecx, 12);
|
||||||
or_(eax, ecx);
|
or_(eax, ecx);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue