summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/stats.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-02-15 21:26:04 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 23:28:59 -0800
commitd120394df30a3dd1878f183966489c100755e4b4 (patch)
tree59a73d73e8dbccc6740ea975b6c4109647a3b77a /lib/ruby_vm/mjit/stats.rb
parente078a4a9649240bbac2119891e4bd6c0a4952551 (diff)
Implement duparray and expandarray
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 932043337c..22be01fe34 100644
--- a/lib/ruby_vm/mjit/stats.rb
+++ b/lib/ruby_vm/mjit/stats.rb
@@ -38,6 +38,7 @@ module RubyVM::MJIT
print_counters(stats, prefix: 'getivar_', prompt: 'getinstancevariable 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')
$stderr.puts "compiled_block_count: #{format_number(13, stats[:compiled_block_count])}"
$stderr.puts "side_exit_count: #{format_number(13, stats[:side_exit_count])}"