Move temporary array out of CheckerInfo

This commit is contained in:
gingerBill
2025-02-22 18:12:43 +00:00
parent de755f95ec
commit ebda946d61
4 changed files with 26 additions and 22 deletions
+4 -1
View File
@@ -3185,8 +3185,11 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
isize count = 0;
isize offsets_extra = 0;
for (auto const &tt : m->info->type_info_types) {
for (auto const &tt : m->info->type_info_types_hash_map) {
Type *t = tt.type;
if (t == nullptr) {
continue;
}
isize index = lb_type_info_index(m->info, t, false);
if (index < 0) {
continue;