summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-12-19 06:15:22 +0900
committerKoichi Sasada <ko1@atdot.net>2021-12-19 06:15:22 +0900
commit6bef1ac62850be6d83a069ac3d3be0b8e2f3afcf (patch)
tree7f3335a84e6611ba4893da28c50e800b310ed490 /iseq.c
parent45f2182438a632b1217ca26f3e89860e2ee58357 (diff)
`rb_iseq_update_references()` cares `script_lines`
and it fixes compaction issue: http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20211218T203001Z.fail.html.gz
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 a1940f70ce..f711367cfc 100644
--- a/iseq.c
+++ b/iseq.c
@@ -263,6 +263,7 @@ rb_iseq_update_references(rb_iseq_t *iseq)
body->variable.coverage = rb_gc_location(body->variable.coverage);
body->variable.pc2branchindex = rb_gc_location(body->variable.pc2branchindex);
+ body->variable.script_lines = rb_gc_location(body->variable.script_lines);
body->location.label = rb_gc_location(body->location.label);
body->location.base_label = rb_gc_location(body->location.base_label);
body->location.pathobj = rb_gc_location(body->location.pathobj);