summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/rjit/assembler.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-03-06 23:17:25 -0800
committerTakashi Kokubun <[email protected]>2023-03-06 23:44:01 -0800
commit23ec248e48f696ae986e2b19cd572ece02a5ba55 (patch)
tree3973e15ea1c34d000b40a64bd64e78880f28efec /lib/ruby_vm/rjit/assembler.rb
parent2e875549a934fa04b7939810fa0d8a2762702aaa (diff)
s/mjit/rjit/
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7462
Diffstat (limited to 'lib/ruby_vm/rjit/assembler.rb')
-rw-r--r--lib/ruby_vm/rjit/assembler.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ruby_vm/rjit/assembler.rb b/lib/ruby_vm/rjit/assembler.rb
index 232c104af7..5637083866 100644
--- a/lib/ruby_vm/rjit/assembler.rb
+++ b/lib/ruby_vm/rjit/assembler.rb
@@ -911,9 +911,9 @@ module RubyVM::RJIT
end
def incr_counter(name)
- if C.mjit_opts.stats
+ if C.rjit_opts.stats
comment("increment counter #{name}")
- mov(:rax, C.rb_mjit_counters[name].to_i)
+ mov(:rax, C.rb_rjit_counters[name].to_i)
add([:rax], 1) # TODO: lock
end
end