diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-04-22 20:32:20 -0700 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-04-22 20:33:16 -0700 |
commit | 5a58318a9036ae2430d0a6b1d27ff3d3fd7fdf13 (patch) | |
tree | 34ecb03751d694de4a2958a9b14ca896247ab7df /ext | |
parent | 6ca9e7cc0785c33f6d382176dbd79d6c91db72fe (diff) |
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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/objspace/objspace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index 9f5021368a..1c9341de54 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -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); |