Skip to content

Commit

Permalink
[Feature #18045] Remove T_PAYLOAD
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
peterzhu2118 and tenderlove committed Aug 23, 2021
1 parent 83244b8 commit 48ff7a9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 355 deletions.
2 changes: 0 additions & 2 deletions ext/objspace/objspace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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);
}
Expand Down
Loading

0 comments on commit 48ff7a9

Please sign in to comment.