From 48ff7a9f3e47bffb3e4d067a12ba9b936261caa0 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 19 Jul 2021 13:52:14 -0400 Subject: [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 --- internal/gc.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'internal') 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); -- cgit v1.2.3