diff --git a/iseq.c b/iseq.c index eb65ec5f79..a94f1e8d1f 100644 --- a/iseq.c +++ b/iseq.c @@ -347,6 +347,7 @@ rb_iseq_mark(const rb_iseq_t *iseq) rb_gc_mark_movable(body->variable.coverage); rb_gc_mark_movable(body->variable.pc2branchindex); + rb_gc_mark_movable(body->variable.script_lines); rb_gc_mark_movable(body->location.label); rb_gc_mark_movable(body->location.base_label); rb_gc_mark_movable(body->location.pathobj);