summaryrefslogtreecommitdiff
path: root/mjit.h
diff options
context:
space:
mode:
Diffstat (limited to 'mjit.h')
-rw-r--r--mjit.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/mjit.h b/mjit.h
index 4f38ed90a7..de75afad2f 100644
--- a/mjit.h
+++ b/mjit.h
@@ -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;