diff options
Diffstat (limited to 'lib/ruby_vm/rjit/block.rb')
-rw-r--r-- | lib/ruby_vm/rjit/block.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/ruby_vm/rjit/block.rb b/lib/ruby_vm/rjit/block.rb new file mode 100644 index 0000000000..cfdaade8b1 --- /dev/null +++ b/lib/ruby_vm/rjit/block.rb @@ -0,0 +1,11 @@ +class RubyVM::RJIT::Block < Struct.new( + :iseq, # @param `` + :pc, # @param [Integer] Starting PC + :ctx, # @param [RubyVM::RJIT::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::RJIT::BranchStub>] Incoming branches + :invalidated, # @param [TrueClass,FalseClass] true if already invalidated +) + def initialize(incoming: [], invalidated: false, **) = super +end |