diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2022-10-19 09:30:41 -0400 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-10-19 11:06:19 -0700 |
commit | 0aaa6133ed7365e5037ccdac8b59b00fb13aa50e (patch) | |
tree | c5fbd725f7534b08a32b304beeb9fea954a1b1e7 /shape.c | |
parent | 5ca23caa2057fc4760fbefab6087371b11c4bc6c (diff) | |
download | ruby-0aaa6133ed7365e5037ccdac8b59b00fb13aa50e.tar.gz |
Transition frozen string to frozen root shape
Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
Diffstat (limited to 'shape.c')
-rw-r--r-- | shape.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -203,14 +203,6 @@ rb_shape_transition_shape_frozen(VALUE obj) rb_shape_t* next_shape; if (shape == rb_shape_get_root_shape()) { - switch (BUILTIN_TYPE(obj)) { - case T_OBJECT: - case T_CLASS: - case T_MODULE: - break; - default: - return; - } next_shape = rb_shape_get_frozen_root_shape(); } else { |