ruby-changes:68753
From: Mike <ko1@a...>
Date: Thu, 21 Oct 2021 08:13:26 +0900 (JST)
Subject: [ruby-changes:68753] 69d27e3f97 (master): fix: allow make to complete when DEBUG_RUBY is not set
https://git.ruby-lang.org/ruby.git/commit/?id=69d27e3f97 From 69d27e3f97f1e75773a81cda411bb67a9159d107 Mon Sep 17 00:00:00 2001 From: Mike Dalessio <mike.dalessio@g...> Date: Wed, 10 Feb 2021 09:49:26 -0500 Subject: fix: allow make to complete when DEBUG_RUBY is not set --- ujit_codegen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ujit_codegen.c b/ujit_codegen.c index 4a2a4c865e..cb0d6bcd54 100644 --- a/ujit_codegen.c +++ b/ujit_codegen.c @@ -70,10 +70,12 @@ ujit_gen_exit(jitstate_t* jit, ctx_t* ctx, codeblock_t* cb, VALUE* exit_pc) https://github.com/ruby/ruby/blob/trunk/ujit_codegen.c#L70 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); -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/