repo.or.cz
/
ruby.git
/
blob
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[ruby/psych] Add support for ruby 3.2 Data objects
[ruby.git]
/
yjit_hook.rb
blob
8f0f38aaf1f5353108739d95394ad9ddf71345c7
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
5
6
# Remove the helper defined in kernel.rb
7
class Module
8
undef :with_yjit
9
end