1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

T_MOVED can live on the stack, so make sure we can do book keeping

Unused T_MOVED objects can live on the stack, so we need to make sure
that they can be accounted for in book keeping
This commit is contained in:
Aaron Patterson 2019-04-22 20:32:20 -07:00
parent 6ca9e7cc07
commit 5a58318a90
No known key found for this signature in database
GPG key ID: 953170BCB4FFAFC6

View file

@ -188,6 +188,7 @@ type2sym(enum ruby_value_type i)
CASE_TYPE(T_IMEMO);
CASE_TYPE(T_NODE);
CASE_TYPE(T_ICLASS);
CASE_TYPE(T_MOVED);
CASE_TYPE(T_ZOMBIE);
#undef CASE_TYPE
default: rb_bug("type2sym: unknown type (%d)", i);