summaryrefslogtreecommitdiff
path: root/tool/runruby.rb
diff options
context:
space:
mode:
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?