Stop exposing rb_str_chilled_p

[Feature #20205]

Now that chilled strings no longer appear as frozen, there is no
need to offer an API to check for chilled strings.

We however need to change `rb_check_frozen_internal` to no
longer be a macro, as it needs to check for chilled strings.
This commit is contained in:
Jean Boussier 2024-05-30 14:55:32 +02:00
parent 3eba84fba0
commit 730e3b2ce0
9 changed files with 14 additions and 84 deletions

View file

@ -222,7 +222,7 @@ setinstancevariable
(ID id, IVC ic)
(VALUE val)
()
// attr bool leaf = false; /* has rb_check_frozen_internal() */
// attr bool leaf = false; /* has rb_check_frozen() */
{
vm_setinstancevariable(GET_ISEQ(), GET_SELF(), id, val, ic);
}