mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Generate the global type info member values even if the count is 0
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user