summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/yjit.rb b/yjit.rb
index 062784f564..0079d8d895 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -253,6 +253,11 @@ module RubyVM::YJIT
# Number of failed compiler invocations
compilation_failure = stats[:compilation_failure]
+ if stats[:x86_call_rel32] != 0 || stats[:x86_call_reg] != 0
+ $stderr.puts "x86_call_rel32: " + ("%10d" % stats[:x86_call_rel32])
+ $stderr.puts "x86_call_reg: " + ("%10d" % stats[:x86_call_reg])
+ end
+
$stderr.puts "bindings_allocations: " + ("%10d" % stats[:binding_allocations])
$stderr.puts "bindings_set: " + ("%10d" % stats[:binding_set])
$stderr.puts "compilation_failure: " + ("%10d" % compilation_failure) if compilation_failure != 0