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
40050c1188
commit
f6a049337e
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