summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2019-11-06 16:29:09 -0800
committerAaron Patterson <tenderlove@ruby-lang.org>2019-11-06 16:31:55 -0800
commitd0d743ad4558a572769f0f11ece11fda068652b3 (patch)
tree0d9958dc912561b3249d23696dfb04a50439a7d5 /gc.c
parente58814d150b0652f5e11958b36b85d977fdd0426 (diff)
downloadruby-d0d743ad4558a572769f0f11ece11fda068652b3.tar.gz
Remove duplicate code
These functions are the same, so remove one. Co-authored-by: John Hawthorn <john@hawthorn.email>
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gc.c b/gc.c
index 5a4f72d9ff..cee8f6cbdf 100644
--- a/gc.c
+++ b/gc.c
@@ -7995,12 +7995,6 @@ gc_ref_update_hash(rb_objspace_t * objspace, VALUE v)
rb_hash_stlike_foreach_with_replace(v, hash_foreach_replace, hash_replace_ref, (st_data_t)objspace);
}
-void rb_update_st_references(struct st_table *ht)
-{
- rb_objspace_t *objspace = &rb_objspace;
- gc_update_table_refs(objspace, ht);
-}
-
static void
gc_ref_update_method_entry(rb_objspace_t *objspace, rb_method_entry_t *me)
{