Fix more #soa changes

This commit is contained in:
gingerBill
2024-05-16 17:15:38 +01:00
parent 7cf62f00c3
commit 575b268e88
3 changed files with 15 additions and 0 deletions
+1
View File
@@ -1292,6 +1292,7 @@ gb_internal lbValue lb_addr_load(lbProcedure *p, lbAddr const &addr) {
if (t->Struct.soa_kind == StructSoa_Fixed) {
len = lb_const_int(p->module, t_int, t->Struct.soa_count);
} else {
elem = alloc_type_multi_pointer_to_pointer(elem);
lbValue v = lb_emit_load(p, addr.addr);
len = lb_soa_struct_len(p, v);
}