s/mjit/rjit/

This commit is contained in:
Takashi Kokubun 2023-03-06 23:17:25 -08:00
parent 2e875549a9
commit 23ec248e48
Notes: git 2023-03-07 07:44:22 +00:00
63 changed files with 1070 additions and 1072 deletions

View file

@ -130,11 +130,11 @@ module RubyVM::RJIT
end
@patches.clear
C.mjit_for_each_iseq do |iseq|
C.rjit_for_each_iseq do |iseq|
# Avoid entering past code
iseq.body.jit_func = 0
# Avoid reusing past code
iseq.body.mjit_blocks.clear if iseq.body.mjit_blocks
iseq.body.rjit_blocks.clear if iseq.body.rjit_blocks
# Compile this again if not converted to trace_* insns
iseq.body.total_calls = 0
end