diff options
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -383,6 +383,7 @@ typedef struct RVALUE { union { rb_cref_t cref; struct vm_svar svar; + struct vm_throw_data throw_data; } imemo; struct { struct RBasic basic; @@ -4163,6 +4164,9 @@ gc_mark_children(rb_objspace_t *objspace, VALUE obj) gc_mark(objspace, RANY(obj)->as.imemo.svar.backref); gc_mark(objspace, RANY(obj)->as.imemo.svar.others); return; + case imemo_throw_data: + gc_mark(objspace, RANY(obj)->as.imemo.throw_data.throw_obj); + return; default: rb_bug("T_IMEMO: unreachable"); } |