summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-02-17 12:44:39 -0800
committerGitHub <noreply@github.com>2023-02-17 12:44:39 -0800
commit034d5ee43c426c8a767fbdc12a9f0fc0ce9af030 (patch)
tree6db3cfa5c06e28e7082b2d656efb212dc5a1057a /yjit.rb
parent0d8ef62fc293dc04110f36382a7e8bddec6aee15 (diff)
downloadruby-034d5ee43c426c8a767fbdc12a9f0fc0ce9af030.tar.gz
YJIT: Use rb_ivar_get at the end of ivar chains (#7334)
* YJIT: Use rb_ivar_get at the end of ivar chains * Rename the counter to get_ivar_max_depth
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 8387767958..d5dde56a36 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -272,6 +272,7 @@ module RubyVM::YJIT
$stderr.puts "freed_iseq_count: " + format_number(13, stats[:freed_iseq_count])
$stderr.puts "invalidation_count: " + format_number(13, stats[:invalidation_count])
$stderr.puts "constant_state_bumps: " + format_number(13, stats[:constant_state_bumps])
+ $stderr.puts "get_ivar_max_depth: " + format_number(13, stats[:get_ivar_max_depth])
$stderr.puts "inline_code_size: " + format_number(13, stats[:inline_code_size])
$stderr.puts "outlined_code_size: " + format_number(13, stats[:outlined_code_size])
$stderr.puts "freed_code_size: " + format_number(13, stats[:freed_code_size])