Invalidate blocks on global constant changes

This commit is contained in:
Takashi Kokubun 2023-03-01 21:32:36 -08:00
parent b5fbc9f59f
commit 7dcdffebc8
Notes: git 2023-03-06 07:29:49 +00:00
7 changed files with 88 additions and 46 deletions

View file

@ -1,4 +1,5 @@
class RubyVM::MJIT::Block < Struct.new(
:iseq, # @param ``
: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