diff options
| -rw-r--r-- | shape.c | 10 | ||||
| -rw-r--r-- | shape.h | 1 |
2 files changed, 0 insertions, 11 deletions
@@ -757,16 +757,6 @@ rb_shape_has_object_id(rb_shape_t *shape) return shape->flags & SHAPE_FL_HAS_OBJECT_ID; } -attr_index_t -rb_shape_object_id_index(rb_shape_t *shape) -{ - RUBY_ASSERT(shape->flags & SHAPE_FL_HAS_OBJECT_ID); - while (shape->type != SHAPE_OBJ_ID) { - shape = rb_shape_get_parent(shape); - } - return shape->next_field_index - 1; -} - rb_shape_t * rb_shape_object_id_shape(VALUE obj) { @@ -173,7 +173,6 @@ shape_id_t rb_shape_transition_add_ivar_no_warnings(VALUE obj, ID id); rb_shape_t *rb_shape_object_id_shape(VALUE obj); bool rb_shape_has_object_id(rb_shape_t *shape); -attr_index_t rb_shape_object_id_index(rb_shape_t *shape); void rb_shape_free_all(void); rb_shape_t *rb_shape_rebuild_shape(rb_shape_t *initial_shape, rb_shape_t *dest_shape); |
