mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
45f2182438
commit
6bef1ac628
1 changed files with 1 additions and 0 deletions
1
iseq.c
1
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.coverage = rb_gc_location(body->variable.coverage);
|
||||||
body->variable.pc2branchindex = rb_gc_location(body->variable.pc2branchindex);
|
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.label = rb_gc_location(body->location.label);
|
||||||
body->location.base_label = rb_gc_location(body->location.base_label);
|
body->location.base_label = rb_gc_location(body->location.base_label);
|
||||||
body->location.pathobj = rb_gc_location(body->location.pathobj);
|
body->location.pathobj = rb_gc_location(body->location.pathobj);
|
||||||
|
|
Loading…
Reference in a new issue