From 566c5447aedbb03f55b4dc12381b432b84f9039c Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Fri, 17 Jun 2022 11:26:51 -0700 Subject: YJIT: Use binwrite to write exit locations --- yjit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yjit.rb') 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. -- cgit v1.2.1