mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 20:15:46 +00:00
common/xbyak_api: Make BuildRegSet() constexpr
This allows us to eliminate any static constructors that would have been emitted due to the function not being constexpr.
This commit is contained in:
parent
aac2862552
commit
1d5b635601
2 changed files with 9 additions and 9 deletions
|
@ -29,7 +29,7 @@ constexpr Xbyak::Reg64 PARAMETERS = Xbyak::util::r12;
|
|||
constexpr Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d;
|
||||
constexpr Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15;
|
||||
|
||||
const std::bitset<32> PERSISTENT_REGISTERS = Common::X64::BuildRegSet({
|
||||
constexpr std::bitset<32> PERSISTENT_REGISTERS = Common::X64::BuildRegSet({
|
||||
STATE,
|
||||
RESULT,
|
||||
PARAMETERS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue