summaryrefslogtreecommitdiff
path: root/internal/cmdlineopt.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-07-30 10:11:10 -0700
committerGitHub <noreply@github.com>2025-07-30 10:11:10 -0700
commit2cd10de33097d44f85a42bcde0f8bf17c90cd53a (patch)
tree221d1237964ae879b37eb4352e6c2d0fa950eac7 /internal/cmdlineopt.h
parent4263c49d1ce61a4e8d1a84cc144d4185ccf935f9 (diff)
ZJIT: Prepare for sharing JIT hooks with ZJIT (#14044)
Diffstat (limited to 'internal/cmdlineopt.h')
-rw-r--r--internal/cmdlineopt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/cmdlineopt.h b/internal/cmdlineopt.h
index 667fd6df2e..aed209e2a2 100644
--- a/internal/cmdlineopt.h
+++ b/internal/cmdlineopt.h
@@ -23,9 +23,6 @@ typedef struct ruby_cmdline_options {
ruby_features_t warn;
unsigned int dump;
long backtrace_length_limit;
-#if USE_ZJIT
- void *zjit;
-#endif
const char *crash_report;
@@ -42,6 +39,9 @@ typedef struct ruby_cmdline_options {
#if USE_YJIT
unsigned int yjit: 1;
#endif
+#if USE_ZJIT
+ unsigned int zjit: 1;
+#endif
} ruby_cmdline_options_t;
struct ruby_opt_message {