summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2021-07-19 13:52:14 -0400
committerPeter Zhu <peter@peterzhu.ca>2021-08-23 09:15:42 -0400
commit48ff7a9f3e47bffb3e4d067a12ba9b936261caa0 (patch)
tree47e91d54c6f6120d9a602274b1524443b050ae01 /ext/objspace
parent83244b8c893ea2e140095888d88146c27959bfc0 (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/4680
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/objspace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index 72d1eb888d..3fa4fd279b 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -66,7 +66,6 @@ total_i(VALUE v, void *ptr)
case T_IMEMO:
case T_ICLASS:
case T_NODE:
- case T_PAYLOAD:
case T_ZOMBIE:
return;
default:
@@ -225,7 +224,6 @@ type2sym(enum ruby_value_type i)
CASE_TYPE(T_ICLASS);
CASE_TYPE(T_MOVED);
CASE_TYPE(T_ZOMBIE);
- CASE_TYPE(T_PAYLOAD);
#undef CASE_TYPE
default: rb_bug("type2sym: unknown type (%d)", i);
}