mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
Implement invalidation after cfunc
This commit is contained in:
parent
494989e87e
commit
aba530e23b
8 changed files with 143 additions and 78 deletions
|
@ -45,6 +45,7 @@ module RubyVM::MJIT
|
|||
@ocb = CodeBlock.new(mem_block: mem_block + mem_size / 2, mem_size: mem_size / 2, outlined: true)
|
||||
@exit_compiler = ExitCompiler.new
|
||||
@insn_compiler = InsnCompiler.new(@cb, @ocb, @exit_compiler)
|
||||
Invariants.initialize(@cb, @ocb, @exit_compiler)
|
||||
|
||||
@leave_exit = Assembler.new.then do |asm|
|
||||
@exit_compiler.compile_leave_exit(asm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue