summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-11-06 09:29:28 -0800
committerJohn Hawthorn <john@hawthorn.email>2025-11-06 15:46:06 -0800
commitcf4a034d59913fb71a7dd1b052164984be4a3d14 (patch)
tree4b79865fd88aff643e2d8bbfa1b2daaf21233c25
parent844132ae8ec28bf64871c0897a0618b801e647f6 (diff)
Use rb_set_memsize for constant cache tables
These were converted to a set in c0417bd094abcc68be913ce49a430df7cefbcd44
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index f0aebf08a3..5b706dc6c5 100644
--- a/vm.c
+++ b/vm.c
@@ -3445,7 +3445,7 @@ size_t rb_vm_memsize_workqueue(struct ccan_list_head *workqueue); // vm_trace.c
static enum rb_id_table_iterator_result
vm_memsize_constant_cache_i(ID id, VALUE ics, void *size)
{
- *((size_t *) size) += rb_st_memsize((st_table *) ics);
+ *((size_t *) size) += rb_set_memsize((set_table *) ics);
return ID_TABLE_CONTINUE;
}