Skip to content

Commit cf4a034

Browse files
committed
Use rb_set_memsize for constant cache tables
These were converted to a set in c0417bd
1 parent 844132a commit cf4a034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3445,7 +3445,7 @@ size_t rb_vm_memsize_workqueue(struct ccan_list_head *workqueue); // vm_trace.c
34453445
static enum rb_id_table_iterator_result
34463446
vm_memsize_constant_cache_i(ID id, VALUE ics, void *size)
34473447
{
3448-
*((size_t *) size) += rb_st_memsize((st_table *) ics);
3448+
*((size_t *) size) += rb_set_memsize((set_table *) ics);
34493449
return ID_TABLE_CONTINUE;
34503450
}
34513451

0 commit comments

Comments
 (0)