summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-10-29 01:10:32 +0900
committerKoichi Sasada <ko1@atdot.net>2021-10-29 02:00:06 +0900
commitcbf2078a25c3efb12f45b643a636ff7bb4d402b6 (patch)
tree035cf26efda04bf1b6c99ce29de9998af5b9d09f /iseq.c
parentacb2f86caa384fd7a32d4fe682b9fa719015c1c7 (diff)
need to mark script_lines
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5048
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c1
1 files changed, 1 insertions, 0 deletions
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);