diff options
author | Peter Zhu <[email protected]> | 2024-03-12 13:50:50 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-03-13 09:55:52 -0400 |
commit | 6ad347a1055902abfd5a7f5233dd8d18e1f1360b () | |
tree | 9d906ec788ca0e4a1bb731b4b72300f236d27271 /internal/gc.h | |
parent | d1eaa97ec3cdbe38605379fc87a55987d6802dc7 (diff) |
Don't directly read the SIZE_POOL_COUNT in shapes
This removes the assumption about SIZE_POOL_COUNT for shapes.
-rw-r--r-- | internal/gc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -223,6 +223,8 @@ static inline void ruby_sized_xfree_inlined(void *ptr, size_t size); void rb_gc_ractor_newobj_cache_clear(rb_ractor_newobj_cache_t *newobj_cache); size_t rb_gc_obj_slot_size(VALUE obj); bool rb_gc_size_allocatable_p(size_t size); int rb_objspace_garbage_object_p(VALUE obj); bool rb_gc_is_ptr_to_obj(const void *ptr); |