summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-06-17 11:26:51 -0700
committerJohn Hawthorn <john@hawthorn.email>2022-06-17 12:17:19 -0700
commit566c5447aedbb03f55b4dc12381b432b84f9039c (patch)
tree3270775cb1c4e694cad39dae3633afb6f64824a3 /yjit.rb
parentb184cdfd74750110f091fc03042e53673dc4504f (diff)
downloadruby-566c5447aedbb03f55b4dc12381b432b84f9039c.tar.gz
YJIT: Use binwrite to write exit locations
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit.rb b/yjit.rb
index cbaea7d003..b0ddb475ac 100644
--- a/yjit.rb
+++ b/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.