File tree Expand file tree Collapse file tree 4 files changed +1
-6
lines changed Expand file tree Collapse file tree 4 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ void rb_gvar_ractor_local(const char *name);
35
35
static inline bool ROBJ_TRANSIENT_P (VALUE obj );
36
36
static inline void ROBJ_TRANSIENT_SET (VALUE obj );
37
37
static inline void ROBJ_TRANSIENT_UNSET (VALUE obj );
38
- uint32_t rb_obj_ensure_iv_index_mapping (VALUE obj , ID id );
39
38
40
39
struct gen_ivtbl ;
41
40
int rb_gen_ivtbl_get (VALUE obj , ID id , struct gen_ivtbl * * ivtbl );
Original file line number Diff line number Diff line change @@ -1449,7 +1449,7 @@ rb_init_iv_list(VALUE obj)
1449
1449
// @note May raise when there are too many instance variables.
1450
1450
// @note YJIT uses this function at compile time to simplify the work needed to
1451
1451
// access the variable at runtime.
1452
- uint32_t
1452
+ static uint32_t
1453
1453
rb_obj_ensure_iv_index_mapping (VALUE obj , ID id )
1454
1454
{
1455
1455
RUBY_ASSERT (RB_TYPE_P (obj , T_OBJECT ));
Original file line number Diff line number Diff line change @@ -304,7 +304,6 @@ fn main() {
304
304
305
305
// From internal/variable.h
306
306
. allowlist_function ( "rb_gvar_(get|set)" )
307
- . allowlist_function ( "rb_obj_ensure_iv_index_mapping" )
308
307
309
308
// From include/ruby/internal/intern/variable.h
310
309
. allowlist_function ( "rb_attr_get" )
Original file line number Diff line number Diff line change @@ -1015,9 +1015,6 @@ extern "C" {
1015
1015
extern "C" {
1016
1016
pub fn rb_hash_resurrect ( hash : VALUE ) -> VALUE ;
1017
1017
}
1018
- extern "C" {
1019
- pub fn rb_obj_ensure_iv_index_mapping ( obj : VALUE , id : ID ) -> u32 ;
1020
- }
1021
1018
extern "C" {
1022
1019
pub fn rb_gvar_get ( arg1 : ID ) -> VALUE ;
1023
1020
}
You can’t perform that action at this time.
0 commit comments