Fix rb_gc_vm_weak_table_foreach compatibility for MMTK
This commit is contained in:
parent
98b36f6f36
commit
feec48ae2b
Notes:
git
2025-01-27 15:28:54 +00:00
@ -388,7 +388,7 @@ rb_mmtk_update_global_tables(int table)
|
|||||||
{
|
{
|
||||||
RUBY_ASSERT(table < RB_GC_VM_WEAK_TABLE_COUNT);
|
RUBY_ASSERT(table < RB_GC_VM_WEAK_TABLE_COUNT);
|
||||||
|
|
||||||
rb_gc_vm_weak_table_foreach(rb_mmtk_update_table_i, NULL, NULL, (enum rb_gc_vm_weak_tables)table);
|
rb_gc_vm_weak_table_foreach(rb_mmtk_update_table_i, NULL, NULL, true, (enum rb_gc_vm_weak_tables)table);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bootup
|
// Bootup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user