summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2021-03-30 13:34:14 +0100
committerPeter Zhu <peter@peterzhu.ca>2021-05-06 09:18:17 -0400
commit8bbd3198068f5e8335ab01f0b29cdae225b25b5b (patch)
tree6c6a0fc987a11c5ba84a541ef0055d1f5a67f491 /vm_eval.c
parentddc29e29890f7f1b29effb84929e6856e45632ee (diff)
Allow newobj_of0 and newobj_slowpath to allocate into multiple heap slots
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4391
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 58f81174f8..e089c0eea2 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -729,6 +729,7 @@ rb_type_str(enum ruby_value_type type)
case type_case(T_ICLASS);
case type_case(T_ZOMBIE);
case type_case(T_MOVED);
+ case type_case(T_PAYLOAD);
case T_MASK: break;
}
#undef type_case