diff options
Diffstat (limited to 'internal/cmdlineopt.h')
-rw-r--r-- | internal/cmdlineopt.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/internal/cmdlineopt.h b/internal/cmdlineopt.h index adc76fc2e4..e79b993345 100644 --- a/internal/cmdlineopt.h +++ b/internal/cmdlineopt.h @@ -1,7 +1,7 @@ #ifndef INTERNAL_CMDLINEOPT_H /*-*-C-*-vi:se ft=c:*/ #define INTERNAL_CMDLINEOPT_H -#include "mjit.h" +#include "rjit.h" #include "yjit.h" typedef struct { @@ -23,14 +23,15 @@ typedef struct ruby_cmdline_options { ruby_features_t features; ruby_features_t warn; unsigned int dump; -#if USE_MJIT - struct mjit_options mjit; -#endif -#if YJIT_SUPPORTED_P - struct rb_yjit_options yjit; + long backtrace_length_limit; +#if USE_RJIT + struct rb_rjit_options rjit; #endif - int sflag, xflag; + const char *crash_report; + + signed int sflag: 2; + unsigned int xflag: 1; unsigned int warning: 1; unsigned int verbose: 1; unsigned int do_loop: 1; @@ -39,6 +40,9 @@ typedef struct ruby_cmdline_options { unsigned int do_split: 1; unsigned int do_search: 1; unsigned int setids: 2; +#if USE_YJIT + unsigned int yjit: 1; +#endif } ruby_cmdline_options_t; struct ruby_opt_message { |