Skip to content

Commit 97f44ac

Browse files
committed
Get rid of rb_shape_set_shape
1 parent a59835e commit 97f44ac

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

shape.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -930,12 +930,6 @@ rb_shape_get_iv_index(shape_id_t shape_id, ID id, attr_index_t *value)
930930
return true;
931931
}
932932

933-
void
934-
rb_shape_set_shape(VALUE obj, rb_shape_t *shape)
935-
{
936-
rb_shape_set_shape_id(obj, rb_shape_id(shape));
937-
}
938-
939933
int32_t
940934
rb_shape_id_offset(void)
941935
{

shape.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ bool rb_shape_id_too_complex_p(shape_id_t shape_id);
130130
bool rb_shape_has_object_id(rb_shape_t *shape);
131131
bool rb_shape_id_has_object_id(shape_id_t shape_id);
132132

133-
void rb_shape_set_shape(VALUE obj, rb_shape_t *shape);
134133
shape_id_t rb_shape_transition_frozen(VALUE obj);
135134
shape_id_t rb_shape_transition_complex(VALUE obj);
136135
shape_id_t rb_shape_transition_remove_ivar(VALUE obj, ID id, shape_id_t *removed_shape_id);

0 commit comments

Comments
 (0)