diff options
Diffstat (limited to 'mjit.h')
-rw-r--r-- | mjit.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -19,8 +19,9 @@ enum rb_mjit_iseq_func { /* ISEQ is already queued for the machine code generation but the code is not ready yet for the execution */ NOT_READY_JIT_ISEQ_FUNC = 1, - /* ISEQ included not compilable insn or some assertion failed */ - NOT_COMPILABLE_JIT_ISEQ_FUNC = 2, + /* ISEQ included not compilable insn, some internal assertion failed + or the unit is unloaded */ + NOT_COMPILED_JIT_ISEQ_FUNC = 2, /* End mark */ LAST_JIT_ISEQ_FUNC = 3 }; @@ -116,7 +117,7 @@ mjit_exec(rb_execution_context_t *ec) } return Qundef; case NOT_READY_JIT_ISEQ_FUNC: - case NOT_COMPILABLE_JIT_ISEQ_FUNC: + case NOT_COMPILED_JIT_ISEQ_FUNC: return Qundef; default: /* to avoid warning with LAST_JIT_ISEQ_FUNC */ break; |