diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-05-06 20:22:46 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-05-06 20:24:19 -0700 |
commit | 0244f91e89eb0c3067bb4e15558ecd9e02c49c42 (patch) | |
tree | 4438216000665abe56ded1b04e7a706d5464701d /mjit_compile.c | |
parent | 545d2ab7d2f318007dea6b9370b9e97c9ff36824 (diff) |
Remove OPT_CHECKED_RUN code
Now this one is actually not in use because we override entire leave
definition for JIT.
Diffstat (limited to 'mjit_compile.c')
-rw-r--r-- | mjit_compile.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mjit_compile.c b/mjit_compile.c index cc4aa0043c..1c64b52680 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 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) |