1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Allow yjit.rb to work with frozen strings

This commit is contained in:
John Hawthorn 2021-06-14 18:02:32 -07:00 committed by Alan Wu
parent d1d3d2c0aa
commit f16ec70e4f

View file

@ -6,7 +6,7 @@ module YJIT
blocks = YJIT.blocks_for(iseq)
return if blocks.empty?
str = ""
str = String.new
str << iseq.disasm
str << "\n"