From 1acc1a5c6d5d01b2822d7aa4356208095481724b Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 14 Oct 2022 16:11:37 -0700 Subject: YJIT doesn't need rb_obj_ensure_iv_index_mapping We should make this function static and remove it from YJIT bindings. --- variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index 1f532f2154..4b8c87bd1f 100644 --- a/variable.c +++ b/variable.c @@ -1449,7 +1449,7 @@ rb_init_iv_list(VALUE obj) // @note May raise when there are too many instance variables. // @note YJIT uses this function at compile time to simplify the work needed to // access the variable at runtime. -uint32_t +static uint32_t rb_obj_ensure_iv_index_mapping(VALUE obj, ID id) { RUBY_ASSERT(RB_TYPE_P(obj, T_OBJECT)); -- cgit v1.2.1