Arm64Emitter: Make SystemHint enum an enum class

Avoids polluting the namespace and makes the members strongly typed.
This commit is contained in:
Lioncash
2020-12-30 20:15:42 -05:00
parent 5011c155ec
commit f21c740919
3 changed files with 16 additions and 16 deletions

View File

@ -354,14 +354,14 @@ enum PStateField
FIELD_FPSR = 0x341,
};
enum SystemHint
enum class SystemHint
{
HINT_NOP = 0,
HINT_YIELD,
HINT_WFE,
HINT_WFI,
HINT_SEV,
HINT_SEVL,
NOP,
YIELD,
WFE,
WFI,
SEV,
SEVL,
};
enum BarrierType