From c08d4067be83d03a6fcd173ffd2d206a01d09c90 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 24 Aug 2021 13:14: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 --- ext/objspace/objspace.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext/objspace/objspace.c') 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); } -- cgit v1.2.3