mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
YJIT: Use binwrite to write exit locations
This commit is contained in:
parent
b184cdfd74
commit
566c5447ae
Notes:
git
2022-06-18 04:17:45 +09:00
1 changed files with 1 additions and 1 deletions
2
yjit.rb
2
yjit.rb
|
@ -120,7 +120,7 @@ module RubyVM::YJIT
|
|||
raise ArgumentError, "--yjit-trace-exits must be enabled to use dump_exit_locations."
|
||||
end
|
||||
|
||||
File.write(filename, Marshal.dump(RubyVM::YJIT.exit_locations))
|
||||
File.binwrite(filename, Marshal.dump(RubyVM::YJIT.exit_locations))
|
||||
end
|
||||
|
||||
# Return a hash for statistics generated for the --yjit-stats command line option.
|
||||
|
|
Loading…
Reference in a new issue