diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-04-30 22:58:07 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-04-30 23:08:13 -0700 |
commit | f5ddbba9a233c2d32118507158c5ef451167cfe0 (patch) | |
tree | 7c7339745a9c669684d48a9a0c17c4868dbfac28 /mjit.h | |
parent | 96837dc9e039d6f8be667f0662f36635df71cbbe (diff) |
Include unit id in a function name of an inlined method
I'm trying to make it possible to include all JIT-ed code in a single C
file. This is needed to guarantee uniqueness of all function names
Diffstat (limited to 'mjit.h')
-rw-r--r-- | mjit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ extern struct rb_mjit_compile_info* rb_mjit_iseq_compile_info(const struct rb_is extern void rb_mjit_recompile_iseq(const rb_iseq_t *iseq); RUBY_SYMBOL_EXPORT_END -extern bool mjit_compile(FILE *f, const rb_iseq_t *iseq, const char *funcname); +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_gc_start_hook(void); extern void mjit_gc_exit_hook(void); |