We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f777c commit df90a64Copy full SHA for df90a64
zjit.rb
@@ -126,7 +126,9 @@ def dump_exit_locations(filename)
126
raise ArgumentError, "--zjit-trace-exits must be enabled to use dump_exit_locations."
127
end
128
129
- File.binwrite(filename, Marshal.dump(RubyVM::ZJIT.exit_locations))
+ File.open(filename, "wb") do |file|
130
+ Marshal.dump(RubyVM::ZJIT.exit_locations, file)
131
+ end
132
133
134
# Check if `--zjit-stats` is used
0 commit comments