diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-10 10:00:15 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-10 10:00:16 -0800 |
commit | 354791c248d7e21d5b70ded7c548af954491e247 (patch) | |
tree | 1504031b53c5b181d14f23d9a03930f152eae27f /yjit.rb | |
parent | 8b3347950e6344474430ed08f5fa19f613883660 (diff) |
Remove inconsistency
I meant they should be also fixed in
https://github.com/ruby/ruby/pull/6694#discussion_r1019445575
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -269,11 +269,11 @@ module RubyVM::YJIT $stderr.puts "side_exit_count: " + ("%10d" % stats[:side_exit_count]) $stderr.puts "total_exit_count: " + ("%10d" % stats[:side_exit_count]) $stderr.puts "total_insns_count: " + ("%10d" % stats[:total_exit_count]) - if stats.has_key?(:vm_insns_count) + if stats.key?(:vm_insns_count) $stderr.puts "vm_insns_count: " + ("%10d" % stats[:vm_insns_count]) end $stderr.puts "yjit_insns_count: " + ("%10d" % stats[:exec_instruction]) - if stats.has_key?(:ratio_in_yjit) + if stats.key?(:ratio_in_yjit) $stderr.puts "ratio_in_yjit: " + ("%9.1f" % stats[:ratio_in_yjit]) + "%" end $stderr.puts "avg_len_in_yjit: " + ("%10.1f" % stats[:avg_len_in_yjit]) |