From 91ec5f9e39cf54dd7a157addb778293853571f13 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Wed, 14 Oct 2020 16:59:31 +0900 Subject: remove rb_obj_iv_index_tbl (1) nobody uses it (gem-codesearch) (2) the data strucuture will be changed. --- object.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'object.c') diff --git a/object.c b/object.c index f03f3a78ff..68f7dc2653 100644 --- a/object.c +++ b/object.c @@ -320,14 +320,6 @@ rb_obj_singleton_class(VALUE obj) return rb_singleton_class(obj); } -struct st_table * -rb_obj_iv_index_tbl(const struct RObject *obj) -{ - /* This is a function that practically never gets used. Just to keep - * backwards compatibility to ruby 2.x. */ - return ROBJECT_IV_INDEX_TBL((VALUE)obj); -} - /*! \private */ MJIT_FUNC_EXPORTED void rb_obj_copy_ivar(VALUE dest, VALUE obj) -- cgit v1.2.3