Module: RubyVM::RJIT
Overview
Part of this file is generated by tool/rjit/bindgen.rb. Run make rjit-bindgen
to update code between “RJIT bindgen begin” and “RJIT bindgen end”.
Class Attribute Summary
-
.enabled? ⇒ Boolean
readonly
Return true if RJIT is enabled.
Class Method Summary
-
.enable
Start JIT compilation after --rjit-disable.
Class Attribute Details
.enabled? ⇒ Boolean
(readonly)
Return true if RJIT is enabled.
# File 'rjit.rb', line 3
def self.enabled? Primitive.cexpr! 'RBOOL(rb_rjit_enabled)' end
Class Method Details
.enable
Start JIT compilation after --rjit-disable.
# File 'rjit.rb', line 8
def self.enable Primitive.cstmt! %{ rb_rjit_call_p = true; return Qnil; } end