1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove OPT_CHECKED_RUN code

Now this one is actually not in use because we override entire leave
definition for JIT.
This commit is contained in:
Takashi Kokubun 2020-05-06 20:22:46 -07:00
parent 545d2ab7d2
commit 0244f91e89
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -474,11 +474,6 @@ precompile_inlinable_iseqs(FILE *f, const rb_iseq_t *iseq, struct compile_status
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)