summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/stats.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-03-02 21:14:26 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 23:28:59 -0800
commite8a36eb4f6f30f5d96960a4cc4025d020018f37b (patch)
treecc2490d397d654157a2016e8062b1af0354e944d /lib/ruby_vm/mjit/stats.rb
parent357007626ce77cd3cdb9e44568c1794e515792f6 (diff)
Optimize setivar for known ivar index
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7448
Diffstat (limited to 'lib/ruby_vm/mjit/stats.rb')
-rw-r--r--lib/ruby_vm/mjit/stats.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ruby_vm/mjit/stats.rb b/lib/ruby_vm/mjit/stats.rb
index 55146be479..834b9dae61 100644
--- a/lib/ruby_vm/mjit/stats.rb
+++ b/lib/ruby_vm/mjit/stats.rb
@@ -37,6 +37,7 @@ module RubyVM::MJIT
print_counters(stats, prefix: 'send_', prompt: 'method call exit reasons')
print_counters(stats, prefix: 'invokesuper_', prompt: 'invokesuper exit reasons')
print_counters(stats, prefix: 'getivar_', prompt: 'getinstancevariable exit reasons')
+ print_counters(stats, prefix: 'setivar_', prompt: 'setinstancevariable exit reasons')
print_counters(stats, prefix: 'optaref_', prompt: 'opt_aref exit reasons')
print_counters(stats, prefix: 'optgetconst_', prompt: 'opt_getconstant_path exit reasons')
print_counters(stats, prefix: 'expandarray_', prompt: 'expandarray exit reasons')