block_of_code: Add ABI_RETURN2
This commit is contained in:
parent
1749780929
commit
af848c627d
2 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@ const Xbyak::Reg64 BlockOfCode::ABI_PARAM3 = Xbyak::util::r8;
|
|||
const Xbyak::Reg64 BlockOfCode::ABI_PARAM4 = Xbyak::util::r9;
|
||||
#else
|
||||
const Xbyak::Reg64 BlockOfCode::ABI_RETURN = Xbyak::util::rax;
|
||||
const Xbyak::Reg64 BlockOfCode::ABI_RETURN2 = Xbyak::util::rdx;
|
||||
const Xbyak::Reg64 BlockOfCode::ABI_PARAM1 = Xbyak::util::rdi;
|
||||
const Xbyak::Reg64 BlockOfCode::ABI_PARAM2 = Xbyak::util::rsi;
|
||||
const Xbyak::Reg64 BlockOfCode::ABI_PARAM3 = Xbyak::util::rdx;
|
||||
|
|
|
@ -97,6 +97,9 @@ public:
|
|||
void EnsurePatchLocationSize(CodePtr begin, size_t size);
|
||||
|
||||
static const Xbyak::Reg64 ABI_RETURN;
|
||||
#ifndef _WIN32
|
||||
static const Xbyak::Reg64 ABI_RETURN2;
|
||||
#endif
|
||||
static const Xbyak::Reg64 ABI_PARAM1;
|
||||
static const Xbyak::Reg64 ABI_PARAM2;
|
||||
static const Xbyak::Reg64 ABI_PARAM3;
|
||||
|
|
Loading…
Reference in a new issue