diff options
author | Takashi Kokubun <[email protected]> | 2022-06-15 21:58:00 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2022-06-15 21:58:00 -0700 |
commit | 66f0ce34f12ed710c97aad30b083017c73f399ad (patch) | |
tree | 9d8e0531030028b7bb9d146ec164f019ff7432b3 /mjit_compile.c | |
parent | 1ffc6c43f696fc18f1d3b52b09a2ef0dd00ac09c (diff) |
MJIT: Get rid of obsoleted compiling_iseqs
Diffstat (limited to 'mjit_compile.c')
-rw-r--r-- | mjit_compile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mjit_compile.c b/mjit_compile.c index 29b76f8b3d..69db42a59f 100644 --- a/mjit_compile.c +++ b/mjit_compile.c @@ -548,9 +548,8 @@ precompile_inlinable_iseqs(FILE *f, const rb_iseq_t *iseq, struct compile_status const struct rb_callinfo *ci = cd->ci; const struct rb_callcache *cc = captured_cc_entries(status)[call_data_index(cd, body)]; // use copy to avoid race condition - extern bool rb_mjit_compiling_iseq_p(const rb_iseq_t *iseq); const rb_iseq_t *child_iseq; - if ((child_iseq = rb_mjit_inlinable_iseq(ci, cc)) != NULL && rb_mjit_compiling_iseq_p(child_iseq)) { + if ((child_iseq = rb_mjit_inlinable_iseq(ci, cc)) != NULL) { status->inlined_iseqs[pos] = ISEQ_BODY(child_iseq); if (mjit_opts.verbose >= 1) // print beforehand because ISeq may be GCed during copy job. |