diff options
author | Aaron Patterson <[email protected]> | 2022-10-14 16:11:37 -0700 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2022-10-14 17:14:41 -0700 |
commit | 1acc1a5c6d5d01b2822d7aa4356208095481724b (patch) | |
tree | e4afb10bc27499c493e535eb9425e8b22f8f363a /variable.c | |
parent | 53e0e5e8df8648e23278e4811e634671de9e1af1 (diff) |
YJIT doesn't need rb_obj_ensure_iv_index_mapping
We should make this function static and remove it from YJIT bindings.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6553
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |