Arm64Gen: Convert ARM64Reg to enum class

Most changes are just adding ARM64Reg:: in front of the constants.
This commit is contained in:
Dentomologist
2021-03-13 10:10:59 -08:00
parent 18d95dfcca
commit f0f206714f
18 changed files with 859 additions and 962 deletions
@@ -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()));