Add back ifdefs for RUBY_DEBUG, accidentally removed

This commit is contained in:
Noah Gibbs 2021-06-29 16:52:09 +01:00 коммит произвёл Alan Wu
Родитель d2e9932908
Коммит 89ae21a092
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -796,6 +796,7 @@ reset_stats_bang(rb_execution_context_t *ec, VALUE self)
#include "yjit.rbinc"
#if RUBY_DEBUG
void
rb_yjit_collect_vm_usage_insn(int insn)
{
@ -821,6 +822,7 @@ rb_yjit_count_side_exit_op(const VALUE *exit_pc)
exit_op_count[insn]++;
return exit_pc; // This function must return exit_pc!
}
#endif
void
rb_yjit_iseq_mark(const struct rb_iseq_constant_body *body)