Get rid of RB_GC_VM_ID_TO_OBJ_TABLE_KEYS
This commit is contained in:
parent
f48e45d1e9
commit
2d1241ba97
Notes:
git
2025-05-08 05:58:18 +00:00
8
gc.c
8
gc.c
@ -3860,17 +3860,15 @@ rb_gc_vm_weak_table_foreach(vm_table_foreach_callback_func callback,
|
||||
vm_weak_table_id_to_obj_foreach,
|
||||
(st_data_t)&foreach_data
|
||||
);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case RB_GC_VM_ID_TO_OBJ_TABLE_KEYS: {
|
||||
if (id_to_obj_tbl && !RB_POSFIXABLE(next_object_id)) {
|
||||
|
||||
if (!RB_POSFIXABLE(next_object_id)) {
|
||||
st_foreach(
|
||||
id_to_obj_tbl,
|
||||
vm_weak_table_id_to_obj_keys_foreach,
|
||||
(st_data_t)&foreach_data
|
||||
);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case RB_GC_VM_GENERIC_FIELDS_TABLE: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user