Remove unused function rb_cc_table_free

This commit is contained in:
Peter Zhu 2024-02-14 15:52:15 -05:00
parent c9ed59c2e2
commit ae8db4b65a
2 changed files with 0 additions and 9 deletions

6
gc.c
View File

@ -3386,12 +3386,6 @@ cvar_table_free_i(VALUE value, void * ctx)
return ID_TABLE_CONTINUE; return ID_TABLE_CONTINUE;
} }
void
rb_cc_table_free(VALUE klass)
{
cc_table_free(&rb_objspace, klass, TRUE);
}
static inline void static inline void
make_zombie(rb_objspace_t *objspace, VALUE obj, void (*dfree)(void *), void *data) make_zombie(rb_objspace_t *objspace, VALUE obj, void (*dfree)(void *), void *data)
{ {

View File

@ -309,9 +309,6 @@ rb_clear_method_cache(VALUE klass_or_module, ID mid)
} }
} }
// gc.c
void rb_cc_table_free(VALUE klass);
static int static int
invalidate_all_refinement_cc(void *vstart, void *vend, size_t stride, void *data) invalidate_all_refinement_cc(void *vstart, void *vend, size_t stride, void *data)
{ {