diff options
| author | Dentomologist <dentomologist@gmail.com> | 2021-02-06 10:50:33 -0800 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2021-03-13 10:10:59 -0800 |
| commit | f0f206714fd1754da93691ea13776500a9b6d278 (patch) | |
| tree | 966d0628b79f84e33844b7232778cde8d06e1114 /Source/UnitTests/Core | |
| parent | 18d95dfcca463dd24e686d74066da96e27edbb3f (diff) | |
Arm64Gen: Convert ARM64Reg to enum class
Most changes are just adding ARM64Reg:: in front of the constants.
Diffstat (limited to 'Source/UnitTests/Core')
| -rw-r--r-- | Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp b/Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp index c21e47c03d..8313a7be79 100644 --- a/Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp +++ b/Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp @@ -26,7 +26,7 @@ public: ResetCodePtr(); const u8* fn = GetCodePtr(); - MOVI2R(W0, value); + MOVI2R(ARM64Reg::W0, value); RET(); FlushIcacheSection(const_cast<u8*>(fn), const_cast<u8*>(GetCodePtr())); @@ -40,7 +40,7 @@ public: ResetCodePtr(); const u8* fn = GetCodePtr(); - MOVI2R(X0, value); + MOVI2R(ARM64Reg::X0, value); RET(); FlushIcacheSection(const_cast<u8*>(fn), const_cast<u8*>(GetCodePtr())); |
