diff options
author | Peter Zhu <peter@peterzhu.ca> | 2021-07-19 13:52:14 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2021-08-23 09:15:42 -0400 |
commit | 48ff7a9f3e47bffb3e4d067a12ba9b936261caa0 (patch) | |
tree | 47e91d54c6f6120d9a602274b1524443b050ae01 /internal | |
parent | 83244b8c893ea2e140095888d88146c27959bfc0 (diff) | |
download | ruby-48ff7a9f3e47bffb3e4d067a12ba9b936261caa0.tar.gz |
[Feature #18045] Remove T_PAYLOAD
This commit removes T_PAYLOAD since the new VWA implementation no longer
requires T_PAYLOAD types.
Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
Diffstat (limited to 'internal')
-rw-r--r-- | internal/gc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/gc.h b/internal/gc.h index 42d82aac76..7d1efebfca 100644 --- a/internal/gc.h +++ b/internal/gc.h @@ -71,8 +71,6 @@ struct rb_objspace; /* in vm_core.h */ rb_obj_write((VALUE)(a), UNALIGNED_MEMBER_ACCESS((VALUE *)(slot)), \ (VALUE)(b), __FILE__, __LINE__) -#define RVARGC_PAYLOAD_INIT(obj, size) (void *)rb_rvargc_payload_init((VALUE)obj, (size_t)size) - typedef struct ractor_newobj_cache { struct RVALUE *freelist; struct heap_page *using_page; @@ -110,8 +108,6 @@ const char *rb_objspace_data_type_name(VALUE obj); VALUE rb_wb_protected_newobj_of(VALUE, VALUE, size_t); VALUE rb_wb_unprotected_newobj_of(VALUE, VALUE, size_t); VALUE rb_ec_wb_protected_newobj_of(struct rb_execution_context_struct *ec, VALUE klass, VALUE flags, size_t); -VALUE rb_rvargc_payload_init(VALUE obj, size_t size); -void * rb_rvargc_payload_data_ptr(VALUE obj); size_t rb_obj_memsize_of(VALUE); void rb_gc_verify_internal_consistency(void); size_t rb_obj_gc_flags(VALUE, ID[], size_t); |