mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Resurrect yjit_hook
This commit is contained in:
parent
338b9c2064
commit
50ae35054b
Notes:
git
2025-04-18 13:47:35 +00:00
1 changed files with 4 additions and 2 deletions
6
ruby.c
6
ruby.c
|
@ -1823,9 +1823,11 @@ ruby_opt_init(ruby_cmdline_options_t *opt)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if USE_YJIT
|
||||
// Call yjit_hook.rb after rb_yjit_init() to use `RubyVM::YJIT.enabled?`
|
||||
//void Init_builtin_yjit_hook();
|
||||
//Init_builtin_yjit_hook();
|
||||
void Init_builtin_yjit_hook();
|
||||
Init_builtin_yjit_hook();
|
||||
#endif
|
||||
|
||||
ruby_set_script_name(opt->script_name);
|
||||
require_libraries(&opt->req_list);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue