[ruby/psych] Add support for ruby 3.2 Data objects
[ruby.git] / yjit_hook.rb
blob8f0f38aaf1f5353108739d95394ad9ddf71345c7
1 # If YJIT is enabled, load the YJIT-only version of builtin methods
2 if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?
3   RubyVM::YJIT.send(:call_yjit_hooks)
4 end
6 # Remove the helper defined in kernel.rb
7 class Module
8   undef :with_yjit
9 end