ruby/lib/ruby_vm/mjit/block.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
540 B
Ruby
Raw Normal View History

2023-01-02 14:11:06 -08:00
class RubyVM::MJIT::Block < Struct.new(
2023-02-19 23:05:29 -08:00
: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
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