From 5d0bbb19cc133753cebda7099e46d4b2084336c6 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 18 Jan 2023 17:19:20 +0000 Subject: rename TypeMethod and the struct type enums --- compiler_and_linker/unsorted/RegisterInfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler_and_linker/unsorted/RegisterInfo.c') 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; -- cgit v1.2.3