summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-02-10 13:31:15 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2025-04-18 21:52:57 +0900
commit0252ce1cd439ec2cacd9486b5c0cf2ee50ecc13e (patch)
treef7b135cce5464a2fafeead24170aaee38b8ced40 /internal
parent464e74f20cd0190565b908d0b7a0a91fcef4c3f7 (diff)
Implement Options as part of ZJITState
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13131
Diffstat (limited to 'internal')
-rw-r--r--internal/cmdlineopt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/cmdlineopt.h b/internal/cmdlineopt.h
index e156ba10e3..667fd6df2e 100644
--- a/internal/cmdlineopt.h
+++ b/internal/cmdlineopt.h
@@ -23,6 +23,9 @@ 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;
@@ -39,7 +42,6 @@ typedef struct ruby_cmdline_options {
#if USE_YJIT
unsigned int yjit: 1;
#endif
- unsigned int zjit: 1;
} ruby_cmdline_options_t;
struct ruby_opt_message {