RJIT: Declare rb_vm_insns_count

This commit is contained in:
Takashi Kokubun 2023-12-19 00:00:18 -08:00
parent eb872d1752
commit edd6581eec

View File

@ -509,7 +509,7 @@ rjit_for_each_iseq(rb_execution_context_t *ec, VALUE self, VALUE block)
return Qnil;
}
// bindgen funcs
// bindgen references
extern ID rb_get_symbol_id(VALUE name);
extern VALUE rb_fix_aref(VALUE fix, VALUE idx);
extern VALUE rb_str_getbyte(VALUE str, VALUE index);
@ -535,6 +535,7 @@ extern VALUE rb_vm_set_ivar_id(VALUE obj, ID id, VALUE val);
extern VALUE rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary);
extern void* rb_rjit_entry_stub_hit(VALUE branch_stub);
extern void* rb_rjit_branch_stub_hit(VALUE branch_stub, int sp_offset, int target0_p);
extern size_t rb_vm_insns_count;
#include "rjit_c.rbinc"