summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-12-27 23:57:16 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-05 22:11:20 -0800
commit5760f7fd3c977b610ed3c8281eb2533b0fde2cbe (patch)
tree4f5defa187656a3279ac6066e924a6791f459777 /lib/ruby_vm/mjit
parente4a824f7695a8de9afb90978ccda038b7d280372 (diff)
Skip compiling at_exit without --mjit-stats
Diffstat (limited to 'lib/ruby_vm/mjit')
-rw-r--r--lib/ruby_vm/mjit/stats.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/ruby_vm/mjit/stats.rb b/lib/ruby_vm/mjit/stats.rb
index 263948bc0e..684ca61f20 100644
--- a/lib/ruby_vm/mjit/stats.rb
+++ b/lib/ruby_vm/mjit/stats.rb
@@ -27,12 +27,6 @@ module RubyVM::MJIT
stats
end
- at_exit do
- if C.mjit_opts.stats
- print_stats
- end
- end
-
class << self
private