Skip to content

Commit 55d363b

Browse files
Aiden Fox Iveyk0kubun
authored andcommitted
ZJIT: Use binwrite in zjit.rb
1 parent 0a4bfb6 commit 55d363b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zjit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def dump_exit_locations(filename)
119119
raise ArgumentError, "--zjit-trace-exits must be enabled to use dump_exit_locations."
120120
end
121121

122-
File.write(filename, Marshal.dump(RubyVM::ZJIT.exit_locations))
122+
File.binwrite(filename, Marshal.dump(RubyVM::ZJIT.exit_locations))
123123
end
124124

125125
# Check if `--zjit-stats` is used

0 commit comments

Comments
 (0)