mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
![]() * Use FL_USER0 for ELTS_SHARED This makes space in RString for two bits for chilled strings. * Mark strings returned by `Symbol#to_s` as chilled [Feature #20350] `STR_CHILLED` now spans on two user flags. If one bit is set it marks a chilled string literal, if it's the other it marks a `Symbol#to_s` chilled string. Since it's not possible, and doesn't make much sense to include debug info when `--debug-frozen-string-literal` is set, we can't include allocation source, but we can safely include the symbol name in the warning message, making it much easier to find the source of the issue. Co-Authored-By: Étienne Barrié <etienne.barrie@gmail.com> --------- Co-authored-by: Étienne Barrié <etienne.barrie@gmail.com> Co-authored-by: Jean Boussier <jean.boussier@gmail.com> |
||
---|---|---|
.. | ||
.document | ||
assembler.rb | ||
block.rb | ||
branch_stub.rb | ||
c_pointer.rb | ||
c_type.rb | ||
code_block.rb | ||
compiler.rb | ||
context.rb | ||
entry_stub.rb | ||
exit_compiler.rb | ||
hooks.rb | ||
insn_compiler.rb | ||
invariants.rb | ||
jit_state.rb | ||
stats.rb | ||
type.rb |