Skip to content

Commit

Permalink
RJIT: Declare rb_vm_insns_count
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Dec 19, 2023
1 parent eb872d1 commit edd6581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rjit_c.c
Expand Up @@ -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);
Expand All @@ -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"

Expand Down

0 comments on commit edd6581

Please sign in to comment.