diff options
author | Peter Zhu <peter@peterzhu.ca> | 2021-08-24 13:14:14 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2021-08-25 09:28:21 -0400 |
commit | c08d4067be83d03a6fcd173ffd2d206a01d09c90 (patch) | |
tree | c382374bbf5a4cc888cebf2602b10eecfc151711 /internal | |
parent | 01be881f35e6dafbd8498f2ca9a02eedb1f40319 (diff) |
[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>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4773
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); |