aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-05-15 23:13:36 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2019-05-15 23:14:07 -0700
commit82332c7d8b17b610a347f7c804219c7fcb702d23 (patch)
treed7abbb48b3487e6daf014e4f7c848a5fc8d5fff3 /mjit.h
parent18e43e823106f15c8aaceb1f56874bdf67bc36a3 (diff)
downloadruby-82332c7d8b17b610a347f7c804219c7fcb702d23.tar.gz
Rename mjit_gc_finish_hook to mjit_gc_exit_hook
because @ko1 said "gc_finish" is confusing like a finish of entire GC process
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 f50b364f6b..6c6e80024e 100644
--- a/mjit.h
+++ b/mjit.h
@@ -82,7 +82,7 @@ extern void mjit_init(struct mjit_options *opts);
extern void mjit_postponed_job_register_start_hook(void);
extern void mjit_postponed_job_register_finish_hook(void);
extern void mjit_gc_start_hook(void);
-extern void mjit_gc_finish_hook(void);
+extern void mjit_gc_exit_hook(void);
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);
@@ -167,7 +167,7 @@ static inline void mjit_cont_free(struct mjit_cont *cont){}
static inline void mjit_postponed_job_register_start_hook(void){}
static inline void mjit_postponed_job_register_finish_hook(void){}
static inline void mjit_gc_start_hook(void){}
-static inline void mjit_gc_finish_hook(void){}
+static inline void mjit_gc_exit_hook(void){}
static inline void mjit_free_iseq(const rb_iseq_t *iseq){}
static inline void mjit_mark(void){}
static inline void mjit_add_class_serial(rb_serial_t class_serial){}