diff options
author | Alan Wu <[email protected]> | 2021-01-27 16:13:27 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:28 -0400 |
commit | 3c7251b41b8850aab7c64c4885669e9c099d2465 () | |
tree | 2a71261442d0d44ae03a8877e721257d6b38c198 /tool/runruby.rb | |
parent | 09479c33f54423910674780d1fcb7834e98ef561 (diff) |
Tally instructions when taking side exists for --ujit-stats
shopify/ruby#29 Co-authored-by: Maxime Chevalier-Boisvert <[email protected]>
-rwxr-xr-x | tool/runruby.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,8 @@ when ENV['RUNRUBY_USE_GDB'] == 'true' debugger = :gdb when ENV['RUNRUBY_USE_LLDB'] == 'true' debugger = :lldb end while arg = ARGV[0] break ARGV.shift if arg == '--' @@ -164,6 +166,9 @@ if debugger end cmd = [runner || ruby] cmd.concat(ARGV) cmd.unshift(*precommand) unless precommand.empty? |