mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
s/mjit/rjit/
This commit is contained in:
parent
2e875549a9
commit
23ec248e48
Notes:
git
2023-03-07 07:44:22 +00:00
63 changed files with 1070 additions and 1072 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue