Module
Constants
No documentation available
No documentation available
forward declaration for ruby_vm/mjit/compiler
Class Methods
::
mjit.rb
View on GitHub
# File tmp/rubies/ruby-3.2.0/mjit.rb, line 3
def self.enabled?
Primitive.cexpr! 'RBOOL(mjit_enabled)'
end
Return true if MJIT
is enabled.
mjit.rb
View on GitHub
# File tmp/rubies/ruby-3.2.0/mjit.rb, line 8
def self.pause(wait: true)
Primitive.cexpr! 'mjit_pause(RTEST(wait))'
end
Stop generating JITed code.
::
mjit.rb
View on GitHub
# File tmp/rubies/ruby-3.2.0/mjit.rb, line 13
def self.resume
Primitive.cexpr! 'mjit_resume()'
end
Start generating JITed code again after pause.