summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/rjit/block.rb
blob: 9b0c91ad40aef2161766c67dacd312dd930b7383 (plain)
1
2
3
4
5
6
7
8
9
10
11
class RubyVM::MJIT::Block < Struct.new(
  :iseq,        # @param ``
  :pc,          # @param [Integer] Starting PC
  :ctx,         # @param [RubyVM::MJIT::Context] **Starting** Context (TODO: freeze?)
  :start_addr,  # @param [Integer] Starting address of this block's JIT code
  :entry_exit,  # @param [Integer] Address of entry exit (optional)
  :incoming,    # @param [Array<RubyVM::MJIT::BranchStub>] Incoming branches
  :invalidated, # @param [TrueClass,FalseClass] true if already invalidated
)
  def initialize(incoming: [], invalidated: false, **) = super
end