summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-01-15 07:32:48 -0800
committerGitHub <noreply@github.com>2024-01-15 10:32:48 -0500
commit5e61cc26c9f4b926ea6472675d3851b5fd684824 (patch)
tree22a09d931d5dcca341e23455a670054df743970c /yjit.rb
parent7c6d7fbc28904b9814a18cc06796e0f12552778a (diff)
YJIT: Optimize Integer#succ (#9519)
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit.rb b/yjit.rb
index a96db9b641..84d4d99b1f 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -284,6 +284,7 @@ module RubyVM::YJIT
opt_mod
opt_mult
opt_plus
+ opt_succ
setlocal
].each do |insn|
print_counters(stats, out: out, prefix: "#{insn}_", prompt: "#{insn} exit reasons:", optional: true)