Skip to content

Commit bdb3b1d

Browse files
committed
ZJIT: Suggest correct command in bisect script
1 parent 6a99049 commit bdb3b1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tool/zjit_bisect.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def run_with_jit_list(ruby, options, jit_list)
135135

136136
# Try running with no JIT list to get a stable baseline
137137
unless run_with_jit_list(RUBY, OPTIONS, []).success?
138-
cmd = [RUBY, "--zjit-allowed-iseqs=/dev/null", *OPTIONS].shelljoin
138+
cmd = add_zjit_options([RUBY, "--zjit-allowed-iseqs=/dev/null", *OPTIONS]).shelljoin
139139
raise "The command failed unexpectedly with an empty JIT list. To reproduce, try running the following: `#{cmd}`"
140140
end
141141
# Collect the JIT list from the failing Ruby process

0 commit comments

Comments
 (0)