aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-11-03 08:53:50 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-11-03 10:15:32 -0400
commit1321df773b6316d2e88dfcada7844e00762d5a94 (patch)
tree85c38ca7ea7676b4bc47a3287ae8411084621865 /internal
parentec86b2eb3947060cffbc95c7c236e110a269c7de (diff)
downloadruby-1321df773b6316d2e88dfcada7844e00762d5a94.tar.gz
Use shape capacity transitions for generic ivars
This commit changes generic ivars to respect the capacity transition in shapes rather than growing the capacity independently.
Diffstat (limited to 'internal')
-rw-r--r--internal/variable.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/variable.h b/internal/variable.h
index c9a3a4676d..afcaba0abf 100644
--- a/internal/variable.h
+++ b/internal/variable.h
@@ -66,7 +66,6 @@ VALUE rb_gvar_defined(ID);
void rb_const_warn_if_deprecated(const rb_const_entry_t *, VALUE, ID);
rb_shape_t * rb_grow_iv_list(VALUE obj);
void rb_ensure_iv_list_size(VALUE obj, uint32_t len, uint32_t newsize);
-struct gen_ivtbl *rb_ensure_generic_iv_list_size(VALUE obj, rb_shape_t *shape, uint32_t newsize);
attr_index_t rb_obj_ivar_set(VALUE obj, ID id, VALUE val);
#endif /* INTERNAL_VARIABLE_H */