diff options
author | Jose Narvaez <[email protected]> | 2021-03-06 23:46:56 +0000 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:31 -0400 |
commit | 4e2eb7695e9b45cb5d2ae757bdb5c2043d78be78 (patch) | |
tree | 71e02cd04b191b9ce66801b67736cf69d831bd0b /tool/runruby.rb | |
parent | 7f7e79d80221949f93c7ded7cbd8d26afd3dea1d (diff) |
Yet Another Ruby JIT!
Renaming uJIT to YJIT. AKA s/ujit/yjit/g.
Diffstat (limited to 'tool/runruby.rb')
-rwxr-xr-x | tool/runruby.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb index 835e772735..bff5d031cc 100755 --- a/tool/runruby.rb +++ b/tool/runruby.rb @@ -11,8 +11,8 @@ when ENV['RUNRUBY_USE_GDB'] == 'true' debugger = :gdb when ENV['RUNRUBY_USE_LLDB'] == 'true' debugger = :lldb -when ENV['RUNRUBY_UJIT_STATS'] - use_ujit_stat = true +when ENV['RUNRUBY_YJIT_STATS'] + use_yjit_stat = true end while arg = ARGV[0] break ARGV.shift if arg == '--' @@ -166,8 +166,8 @@ if debugger end cmd = [runner || ruby] -if use_ujit_stat - cmd << '--ujit-stats' +if use_yjit_stat + cmd << '--yjit-stats' end cmd.concat(ARGV) cmd.unshift(*precommand) unless precommand.empty? |