Arm64Gen: Convert ARM64Reg to enum class

Most changes are just adding ARM64Reg:: in front of the constants.
This commit is contained in:
Dentomologist
2021-02-06 10:50:33 -08:00
parent 18d95dfcca
commit f0f206714f
18 changed files with 859 additions and 962 deletions

View File

@ -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()));