diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-12 13:55:39 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-12 15:15:08 -0700 |
commit | 9cd5441d28002768d9f492140757652548b86727 (patch) | |
tree | 0ad4ac8e4c56c64d0ced398cdbdd8a3878d7f862 /rjit.rb | |
parent | bbd9221e46649cc0d620efe4542bb93ff89fcb47 (diff) | |
download | ruby-9cd5441d28002768d9f492140757652548b86727.tar.gz |
RJIT: Implement --rjit-trace-exits
Diffstat (limited to 'rjit.rb')
-rw-r--r-- | rjit.rb | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -18,6 +18,12 @@ module RubyVM::RJIT print_stats end end + if Primitive.rjit_trace_exits_enabled_p + at_exit do + Primitive.rjit_stop_stats + dump_trace_exits + end + end end if RubyVM::RJIT.enabled? |