diff options
author | Takashi Kokubun <[email protected]> | 2023-10-19 10:54:35 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-19 10:54:35 -0700 |
commit | 6beb09c2c99a2575027bdbc60a6fbb099416f74d (patch) | |
tree | dc0033f88b48f9cfd7ecaa67ca055a09a4437f96 /ruby.c | |
parent | 62e340251b577e3a9d11ac5c2b75ad49b8036294 (diff) |
YJIT: Add RubyVM::YJIT.enable (#8705)
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1796,10 +1796,6 @@ ruby_opt_init(ruby_cmdline_options_t *opt) if (opt->yjit) rb_yjit_init(); #endif - // rb_threadptr_root_fiber_setup for the initial thread is called before rb_yjit_enabled_p() - // or rjit_enabled becomes true, meaning jit_cont_new is skipped for the initial root fiber. - // Therefore we need to call this again here to set the initial root fiber's jit_cont. - rb_jit_cont_init(); // must be after rjit_enabled = true and rb_yjit_init() ruby_set_script_name(opt->script_name); require_libraries(&opt->req_list); |