diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-10-17 09:27:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 09:27:59 -0700 |
commit | e7c71c6c9271b0c29f210769159090e17128e740 (patch) | |
tree | 536ec0057e05111955abe0a9cb38389af6c50d08 /mjit.h | |
parent | 07a93b1e378bf2ea356b0561e5e89e60d30fc684 (diff) |
Make mjit_cont sharable with YJIT (#6556)
* Make mjit_cont sharable with YJIT
* Update dependencies
* Update YJIT binding
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'mjit.h')
-rw-r--r-- | mjit.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -101,8 +101,6 @@ extern void mjit_init(const struct mjit_options *opts); extern void mjit_free_iseq(const rb_iseq_t *iseq); extern void mjit_update_references(const rb_iseq_t *iseq); extern void mjit_mark(void); -extern struct mjit_cont *mjit_cont_new(rb_execution_context_t *ec); -extern void mjit_cont_free(struct mjit_cont *cont); extern void mjit_mark_cc_entries(const struct rb_iseq_constant_body *const body); extern void mjit_notify_waitpid(int exit_code); @@ -120,8 +118,6 @@ void mjit_finish(bool close_handle_p); # else // USE_MJIT static inline void mjit_cancel_all(const char *reason){} -static inline struct mjit_cont *mjit_cont_new(rb_execution_context_t *ec){return NULL;} -static inline void mjit_cont_free(struct mjit_cont *cont){} static inline void mjit_free_iseq(const rb_iseq_t *iseq){} static inline void mjit_mark(void){} static inline VALUE jit_exec(rb_execution_context_t *ec) { return Qundef; /* unreachable */ } |