diff options
author | John Hawthorn <john@hawthorn.email> | 2022-06-17 11:26:51 -0700 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2022-06-17 12:17:19 -0700 |
commit | 566c5447aedbb03f55b4dc12381b432b84f9039c (patch) | |
tree | 3270775cb1c4e694cad39dae3633afb6f64824a3 /yjit.rb | |
parent | b184cdfd74750110f091fc03042e53673dc4504f (diff) | |
download | ruby-566c5447aedbb03f55b4dc12381b432b84f9039c.tar.gz |
YJIT: Use binwrite to write exit locations
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |