Save PC and SP on entry exit

This commit is contained in:
Takashi Kokubun 2023-02-08 10:24:13 -08:00
parent 6be4e065eb
commit 2cd6406d67
4 changed files with 16 additions and 10 deletions

View file

@ -1,5 +1,6 @@
class RubyVM::MJIT::Block < Struct.new(
: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)
)