$73 GRAYBYTE WORDPRESS FILE MANAGER $20

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby32/share/ruby/ruby_vm/mjit/

HOME
Current File : /opt/alt/ruby32/share/ruby/ruby_vm/mjit//hooks.rb
module RubyVM::MJIT::Hooks # :nodoc: all
  C = RubyVM::MJIT.const_get(:C, false)

  def self.on_bop_redefined(_redefined_flag, _bop)
    C.mjit_cancel_all("BOP is redefined")
  end

  def self.on_cme_invalidate(_cme)
    # to be used later
  end

  def self.on_ractor_spawn
    C.mjit_cancel_all("Ractor is spawned")
  end

  def self.on_constant_state_changed(_id)
    # to be used later
  end

  def self.on_constant_ic_update(_iseq, _ic, _insn_idx)
    # to be used later
  end

  def self.on_tracing_invalidate_all(new_iseq_events)
    # Stop calling all JIT-ed code. We can't rewrite existing JIT-ed code to trace_ insns for now.
    # :class events are triggered only in ISEQ_TYPE_CLASS, but mjit_target_iseq_p ignores such iseqs.
    # Thus we don't need to cancel JIT-ed code for :class events.
    if new_iseq_events != C.RUBY_EVENT_CLASS
      C.mjit_cancel_all("TracePoint is enabled")
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.35 PM
root / root
0755
c_pointer.rb
9.024 KB
13 Mar 2026 3.20 PM
root / linksafe
0644
c_type.rb
2.49 KB
13 Mar 2026 3.20 PM
root / linksafe
0644
compiler.rb
39.415 KB
13 Mar 2026 3.20 PM
root / linksafe
0644
hooks.rb
0.894 KB
13 Mar 2026 3.20 PM
root / linksafe
0644
instruction.rb
66.315 KB
13 Mar 2026 3.20 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF