summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 444303173f..34217f7732 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -458,11 +458,13 @@ struct rb_iseq_constant_body {
unsigned int ci_kw_size;
unsigned int stack_max; /* for stack overflow check */
+#if USE_MJIT
/* The following fields are MJIT related info. */
VALUE (*jit_func)(struct rb_execution_context_struct *,
struct rb_control_frame_struct *); /* function pointer for loaded native code */
long unsigned total_calls; /* number of total calls with `mjit_exec()` */
struct rb_mjit_unit *jit_unit;
+#endif
char catch_except_p; /* If a frame of this ISeq may catch exception, set TRUE */
};