aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-02-24 13:52:43 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-05 23:28:59 -0800
commit32e6f15bebf120635d575986fdded1a3943395d0 (patch)
treeef05c8aba8fe08bdd4b63ba8486492585b3ee352 /mjit.h
parent63d96ccbcd21653ac1e5afd96dbd72bc78900de0 (diff)
downloadruby-32e6f15bebf120635d575986fdded1a3943395d0.tar.gz
Store MJIT blocks on each ISEQ
Diffstat (limited to 'mjit.h')
-rw-r--r--mjit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mjit.h b/mjit.h
index 3b65911009..ac28f6d380 100644
--- a/mjit.h
+++ b/mjit.h
@@ -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);