summaryrefslogtreecommitdiff
path: root/tool/runruby.rb
diff options
context:
space:
mode:
authorJose Narvaez <goyox86@gmail.com>2021-03-06 23:46:56 +0000
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:31 -0400
commit4e2eb7695e9b45cb5d2ae757bdb5c2043d78be78 (patch)
tree71e02cd04b191b9ce66801b67736cf69d831bd0b /tool/runruby.rb
parent7f7e79d80221949f93c7ded7cbd8d26afd3dea1d (diff)
downloadruby-4e2eb7695e9b45cb5d2ae757bdb5c2043d78be78.tar.gz
Yet Another Ruby JIT!
Renaming uJIT to YJIT. AKA s/ujit/yjit/g.
Diffstat (limited to 'tool/runruby.rb')
-rwxr-xr-xtool/runruby.rb8
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?