summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-05-30 14:55:32 +0200
committerJean Boussier <[email protected]>2024-06-02 13:53:35 +0200
commit730e3b2ce01915c4a98b79bb281b2c38a9ff1131 (patch)
tree62eb09b9359035e92654d266b57a97d69367f2ad /variable.c
parent3eba84fba015f82fe4ed48ca32450c48a771942f (diff)
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.
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index fcde8a603e..657cbdc889 100644
--- a/variable.c
+++ b/variable.c
@@ -1761,7 +1761,7 @@ rb_obj_ivar_set(VALUE obj, ID id, VALUE val)
VALUE
rb_vm_set_ivar_id(VALUE obj, ID id, VALUE val)
{
- rb_check_frozen_internal(obj);
+ rb_check_frozen(obj);
rb_obj_ivar_set(obj, id, val);
return val;
}