mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
YJIT: Always define method codegen table at boot (#8807)
This commit is contained in:
parent
5f130e2111
commit
ad4f973ecd
5 changed files with 102 additions and 103 deletions
3
ruby.c
3
ruby.c
|
@ -1793,8 +1793,7 @@ ruby_opt_init(ruby_cmdline_options_t *opt)
|
|||
rb_rjit_init(&opt->rjit);
|
||||
#endif
|
||||
#if USE_YJIT
|
||||
if (opt->yjit)
|
||||
rb_yjit_init();
|
||||
rb_yjit_init(opt->yjit);
|
||||
#endif
|
||||
|
||||
ruby_set_script_name(opt->script_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue