diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-11-06 16:29:09 -0800 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-11-06 16:31:55 -0800 |
commit | d0d743ad4558a572769f0f11ece11fda068652b3 (patch) | |
tree | 0d9958dc912561b3249d23696dfb04a50439a7d5 /gc.c | |
parent | e58814d150b0652f5e11958b36b85d977fdd0426 (diff) | |
download | ruby-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.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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) { |