diff options
author | Peter Zhu <[email protected]> | 2021-08-24 13:14:14 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2021-08-25 09:28:21 -0400 |
commit | c08d4067be83d03a6fcd173ffd2d206a01d09c90 (patch) | |
tree | c382374bbf5a4cc888cebf2602b10eecfc151711 /ext/objspace/objspace.c | |
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 <[email protected]>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4773
Diffstat (limited to 'ext/objspace/objspace.c')
-rw-r--r-- | ext/objspace/objspace.c | 2 |
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); } |