mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix: allow make to complete when DEBUG_RUBY is not set
This commit is contained in:
parent
99d285a75c
commit
69d27e3f97
1 changed files with 2 additions and 0 deletions
|
@ -70,10 +70,12 @@ ujit_gen_exit(jitstate_t* jit, ctx_t* ctx, codeblock_t* cb, VALUE* exit_pc)
|
|||
mov(cb, member_opnd(REG_CFP, rb_control_frame_t, pc), RAX);
|
||||
|
||||
// Accumulate stats about interpreter exits
|
||||
#if RUBY_DEBUG
|
||||
if (rb_ujit_opts.gen_stats) {
|
||||
mov(cb, RDI, const_ptr_opnd(exit_pc));
|
||||
call_ptr(cb, RSI, (void *)&rb_ujit_count_side_exit_op);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Write the post call bytes
|
||||
cb_write_post_call_bytes(cb);
|
||||
|
|
Loading…
Add table
Reference in a new issue