Generate the global type info member values even if the count is 0

This commit is contained in:
gingerBill
2023-09-27 11:44:29 +01:00
parent acc29fbceb
commit c529b1b73a
-2
View File
@@ -2273,7 +2273,6 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
} }
} }
if (count > 0) {
{ {
char const *name = LB_TYPE_INFO_TYPES_NAME; char const *name = LB_TYPE_INFO_TYPES_NAME;
Type *t = alloc_type_array(t_type_info_ptr, count); Type *t = alloc_type_array(t_type_info_ptr, count);
@@ -2334,7 +2333,6 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
} }
} }
} }
}
isize global_variable_max_count = 0; isize global_variable_max_count = 0;