From 2cd10de33097d44f85a42bcde0f8bf17c90cd53a Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 30 Jul 2025 10:11:10 -0700 Subject: ZJIT: Prepare for sharing JIT hooks with ZJIT (#14044) --- internal/cmdlineopt.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal') 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 { -- cgit v1.2.3