a64_get_set_elimination_pass: Make TrackingType enum an enum class

Prevents placing single letter enum members into the surrounding scope.
This commit is contained in:
Lioncash 2018-04-03 00:49:50 -04:00 committed by MerryMage
parent 7bcb1c115a
commit 7371e63a7b

View file

@ -19,7 +19,7 @@ namespace Dynarmic::Optimization {
void A64GetSetElimination(IR::Block& block) { void A64GetSetElimination(IR::Block& block) {
using Iterator = IR::Block::iterator; using Iterator = IR::Block::iterator;
enum TrackingType { enum class TrackingType {
W, X, W, X,
S, D, Q, S, D, Q,
SP, NZCV, SP, NZCV,