diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-02-24 13:52:43 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-05 23:28:59 -0800 |
commit | 32e6f15bebf120635d575986fdded1a3943395d0 (patch) | |
tree | ef05c8aba8fe08bdd4b63ba8486492585b3ee352 /mjit.h | |
parent | 63d96ccbcd21653ac1e5afd96dbd72bc78900de0 (diff) | |
download | ruby-32e6f15bebf120635d575986fdded1a3943395d0.tar.gz |
Store MJIT blocks on each ISEQ
Diffstat (limited to 'mjit.h')
-rw-r--r-- | mjit.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -106,9 +106,9 @@ extern void mjit_cancel_all(const char *reason); extern bool mjit_compile(FILE *f, const rb_iseq_t *iseq, const char *funcname, int id); extern void mjit_init(const struct mjit_options *opts); extern void mjit_free_iseq(const rb_iseq_t *iseq); -extern void rb_mjit_iseq_update_references(const rb_iseq_t *iseq); +extern void rb_mjit_iseq_update_references(struct rb_iseq_constant_body *const body); extern void mjit_mark(void); -extern void mjit_mark_cc_entries(const struct rb_iseq_constant_body *const body); +extern void rb_mjit_iseq_mark(VALUE mjit_blocks); extern void mjit_notify_waitpid(int exit_code); extern void rb_mjit_bop_redefined(int redefined_flag, enum ruby_basic_operators bop); |