diff options
author | Ash Wolf <ninji@wuffs.org> | 2022-12-14 01:00:56 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2022-12-14 01:00:56 +0000 |
commit | bc1321735c15104ffad195e1509cab5f3a044260 (patch) | |
tree | 8b2a54226e10e8a564a2287cd8e65b577e0fd6c2 /compiler_and_linker/unsorted/Alias.c | |
parent | 25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22 (diff) | |
download | MWCC-bc1321735c15104ffad195e1509cab5f3a044260.tar.gz MWCC-bc1321735c15104ffad195e1509cab5f3a044260.zip |
rename some stuff and use an enum for RegClass
Diffstat (limited to 'compiler_and_linker/unsorted/Alias.c')
-rw-r--r-- | compiler_and_linker/unsorted/Alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |