summaryrefslogtreecommitdiffstats
path: root/src/video_core/macro
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-30 10:58:45 +0200
committerLioncash <mathew1800@gmail.com>2020-08-30 11:09:48 +0200
commita5dcccfdd245a209c02d5511e48f351cdba80e21 (patch)
tree6cde9b88c887ef38aba3e01fbaba150858c3a808 /src/video_core/macro
parentMerge pull request #4601 from lioncash/const3 (diff)
downloadyuzu-a5dcccfdd245a209c02d5511e48f351cdba80e21.tar
yuzu-a5dcccfdd245a209c02d5511e48f351cdba80e21.tar.gz
yuzu-a5dcccfdd245a209c02d5511e48f351cdba80e21.tar.bz2
yuzu-a5dcccfdd245a209c02d5511e48f351cdba80e21.tar.lz
yuzu-a5dcccfdd245a209c02d5511e48f351cdba80e21.tar.xz
yuzu-a5dcccfdd245a209c02d5511e48f351cdba80e21.tar.zst
yuzu-a5dcccfdd245a209c02d5511e48f351cdba80e21.zip
Diffstat (limited to 'src/video_core/macro')
-rw-r--r--src/video_core/macro/macro_jit_x64.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp
index c1b9e4ad9..954b87515 100644
--- a/src/video_core/macro/macro_jit_x64.cpp
+++ b/src/video_core/macro/macro_jit_x64.cpp
@@ -14,11 +14,11 @@ MICROPROFILE_DEFINE(MacroJitCompile, "GPU", "Compile macro JIT", MP_RGB(173, 255
MICROPROFILE_DEFINE(MacroJitExecute, "GPU", "Execute macro JIT", MP_RGB(255, 255, 0));
namespace Tegra {
-static const Xbyak::Reg64 STATE = Xbyak::util::rbx;
-static const Xbyak::Reg32 RESULT = Xbyak::util::ebp;
-static const Xbyak::Reg64 PARAMETERS = Xbyak::util::r12;
-static const Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d;
-static const Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15;
+constexpr Xbyak::Reg64 STATE = Xbyak::util::rbx;
+constexpr Xbyak::Reg32 RESULT = Xbyak::util::ebp;
+constexpr Xbyak::Reg64 PARAMETERS = Xbyak::util::r12;
+constexpr Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d;
+constexpr Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15;
static const std::bitset<32> PERSISTENT_REGISTERS = Common::X64::BuildRegSet({
STATE,