From 0252ce1cd439ec2cacd9486b5c0cf2ee50ecc13e Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 10 Feb 2025 13:31:15 -0800 Subject: Implement Options as part of ZJITState --- internal/cmdlineopt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal') 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 { -- cgit v1.2.3