summaryrefslogtreecommitdiff
path: root/internal/cmdlineopt.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-10-24 09:20:44 -0700
committerGitHub <noreply@github.com>2022-10-24 12:20:44 -0400
commit120b747b7df25722c982ff4ba0f8be9a1463bd78 (patch)
tree15798f8657eabb2a9a8faa5c8dcbcb94cba00c9a /internal/cmdlineopt.h
parent841be6392ef85a02ab8ce7f323b990d6bbcc09cb (diff)
downloadruby-120b747b7df25722c982ff4ba0f8be9a1463bd78.tar.gz
YJIT: Lazily enable YJIT after prelude (#6597)
* YJIT: Lazily enable YJIT after prelude * Update dependencies * Use a bit field for opt->yjit
Diffstat (limited to 'internal/cmdlineopt.h')
-rw-r--r--internal/cmdlineopt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/cmdlineopt.h b/internal/cmdlineopt.h
index 71568a8745..bf52f1214b 100644
--- a/internal/cmdlineopt.h
+++ b/internal/cmdlineopt.h
@@ -36,6 +36,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 {