From bc1321735c15104ffad195e1509cab5f3a044260 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Dec 2022 01:00:56 +0000 Subject: rename some stuff and use an enum for RegClass --- compiler_and_linker/unsorted/Alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler_and_linker/unsorted/Alias.c') diff --git a/compiler_and_linker/unsorted/Alias.c b/compiler_and_linker/unsorted/Alias.c index 4c0f064..521421d 100644 --- a/compiler_and_linker/unsorted/Alias.c +++ b/compiler_and_linker/unsorted/Alias.c @@ -544,7 +544,7 @@ void gather_alias_info(void) { if ( (!(pcode->flags & (fPCodeFlag4 | fPCodeFlag40000)) || op != pcode->args) && op->kind == PCOp_REGISTER && - op->arg == RegClass_GPR && + (RegClass) op->arg == RegClass_GPR && (op->data.reg.effect & EffectRead) ) { alias_array[aliases_idx] = NULL; -- cgit v1.2.3