diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-01-04 00:32:58 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-05 22:11:20 -0800 |
commit | eddec7bc209d721e99a8cd5ceaafd0f2ab270cc3 (patch) | |
tree | 5ffd0ec11d0aff36e2b5715ee3ca0b83deb60c10 /mjit.c | |
parent | 1f69ba1d8413abe20e95f74761ba267f0e35c649 (diff) | |
download | ruby-eddec7bc209d721e99a8cd5ceaafd0f2ab270cc3.tar.gz |
Support release build
Diffstat (limited to 'mjit.c')
-rw-r--r-- | mjit.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -289,13 +289,13 @@ mjit_compile(FILE *f, const rb_iseq_t *iseq, const char *funcname, int id) // JIT buffer uint8_t *rb_mjit_mem_block = NULL; +// Basically mjit_opts.stats, but this becomes false during MJIT compilation. +static bool mjit_stats_p = false; + #if MJIT_STATS struct rb_mjit_runtime_counters rb_mjit_counters = { 0 }; -// Basically mjit_opts.stats, but this becomes false during MJIT compilation. -static bool mjit_stats_p = false; - void rb_mjit_collect_vm_usage_insn(int insn) { |