ruby/lib/ruby_vm/rjit/block.rb

12 lines
568 B
Ruby
Raw Normal View History

2023-03-06 23:15:30 -08:00
class RubyVM::RJIT::Block < Struct.new(
:iseq, # @param ``
2023-02-19 23:05:29 -08:00
:pc, # @param [Integer] Starting PC
2023-03-06 23:15:30 -08:00
:ctx, # @param [RubyVM::RJIT::Context] **Starting** Context (TODO: freeze?)
2023-02-19 23:05:29 -08:00
:start_addr, # @param [Integer] Starting address of this block's JIT code
:entry_exit, # @param [Integer] Address of entry exit (optional)
2023-03-06 23:15:30 -08:00
:incoming, # @param [Array<RubyVM::RJIT::BranchStub>] Incoming branches
2023-02-19 23:05:29 -08:00
:invalidated, # @param [TrueClass,FalseClass] true if already invalidated
2023-01-02 14:11:06 -08:00
)
2023-02-19 23:05:29 -08:00
def initialize(incoming: [], invalidated: false, **) = super
2023-01-02 14:11:06 -08:00
end