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"