diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-18 17:19:20 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-18 17:19:20 +0000 |
commit | 5d0bbb19cc133753cebda7099e46d4b2084336c6 (patch) | |
tree | 649e0b361bab4c2400fc684f7b18cf2da670525b /compiler_and_linker/unsorted/RegisterInfo.c | |
parent | a231f5dbb93c60da240a027f2afd8a4797069541 (diff) | |
download | MWCC-5d0bbb19cc133753cebda7099e46d4b2084336c6.tar.gz MWCC-5d0bbb19cc133753cebda7099e46d4b2084336c6.zip |
rename TypeMethod and the struct type enums
Diffstat (limited to 'compiler_and_linker/unsorted/RegisterInfo.c')
-rw-r--r-- | compiler_and_linker/unsorted/RegisterInfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler_and_linker/unsorted/RegisterInfo.c b/compiler_and_linker/unsorted/RegisterInfo.c index 72aa09c..177c2e0 100644 --- a/compiler_and_linker/unsorted/RegisterInfo.c +++ b/compiler_and_linker/unsorted/RegisterInfo.c @@ -194,7 +194,7 @@ void assign_register_by_type(Object *obj) { vi->rclass = RegClass_GPR; } else if (ty->type == TYPEFLOAT) { vi->rclass = RegClass_FPR; - } else if ((ty->type == TYPESTRUCT) && (TYPE_STRUCT(ty)->stype >= STRUCT_TYPE_4) && (TYPE_STRUCT(ty)->stype <= STRUCT_TYPE_E)) { + } else if ((ty->type == TYPESTRUCT) && (TYPE_STRUCT(ty)->stype >= STRUCT_VECTOR_UCHAR) && (TYPE_STRUCT(ty)->stype <= STRUCT_VECTOR_PIXEL)) { vi->rclass = RegClass_VR; } else { return; |