ruby/lib/ruby_vm/mjit/block_stub.rb
2023-03-05 22:11:20 -08:00

9 lines
509 B
Ruby

class RubyVM::MJIT::BlockStub < Struct.new(
:iseq, # @param [RubyVM::MJIT::CPointer::Struct_rb_iseq_struct] Stub target ISEQ
:ctx, # @param [RubyVM::MJIT::Context] Stub target context
:pc, # @param [Integer] Stub target pc
:start_addr, # @param [Integer] Stub source start address to be re-generated
:end_addr, # @param [Integer] Stub source end address to be re-generated
:change_block, # @param [Proc] Recompile the source address with a new block address
)
end