ruby-changes:61032
From: Takashi <ko1@a...>
Date: Thu, 7 May 2020 12:28:56 +0900 (JST)
Subject: [ruby-changes:61032] 0244f91e89 (master): Remove OPT_CHECKED_RUN code
https://git.ruby-lang.org/ruby.git/commit/?id=0244f91e89 From 0244f91e89eb0c3067bb4e15558ecd9e02c49c42 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Wed, 6 May 2020 20:22:46 -0700 Subject: Remove OPT_CHECKED_RUN code Now this one is actually not in use because we override entire leave definition for JIT. diff --git a/mjit_compile.c b/mjit_compile.c index cc4aa00..1c64b52 100644 --- a/mjit_compile.c +++ b/mjit_compile.c @@ -474,11 +474,6 @@ precompile_inlinable_iseqs(FILE *f, const rb_iseq_t *iseq, struct compile_status https://github.com/ruby/ruby/blob/trunk/mjit_compile.c#L474 bool mjit_compile(FILE *f, const rb_iseq_t *iseq, const char *funcname, int id) { - if (false) { // Now always checking it for debugging. - fprintf(f, "#undef OPT_CHECKED_RUN\n"); - fprintf(f, "#define OPT_CHECKED_RUN 0\n\n"); - } - struct compile_status status = { .compiled_iseq = iseq->body, .compiled_id = id }; INIT_COMPILE_STATUS(status, iseq->body, true); if ((iseq->body->ci_size > 0 && status.cc_entries_index == -1) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/