aboutsummaryrefslogtreecommitdiffstats
path: root/mjit_compile.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-05-06 20:22:46 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-05-06 20:24:19 -0700
commit0244f91e89eb0c3067bb4e15558ecd9e02c49c42 (patch)
tree4438216000665abe56ded1b04e7a706d5464701d /mjit_compile.c
parent545d2ab7d2f318007dea6b9370b9e97c9ff36824 (diff)
downloadruby-0244f91e89eb0c3067bb4e15558ecd9e02c49c42.tar.gz
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.c5
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)