[前][次][番号順一覧][スレッド一覧]

ruby-changes:69496

From: Koichi <ko1@a...>
Date: Fri, 29 Oct 2021 02:00:18 +0900 (JST)
Subject: [ruby-changes:69496] cbf2078a25 (master): need to mark script_lines

https://git.ruby-lang.org/ruby.git/commit/?id=cbf2078a25

From cbf2078a25c3efb12f45b643a636ff7bb4d402b6 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Fri, 29 Oct 2021 01:10:32 +0900
Subject: need to mark script_lines

---
 iseq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iseq.c b/iseq.c
index eb65ec5f797..a94f1e8d1fb 100644
--- a/iseq.c
+++ b/iseq.c
@@ -347,6 +347,7 @@ rb_iseq_mark(const rb_iseq_t *iseq) https://github.com/ruby/ruby/blob/trunk/iseq.c#L347
 
         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);
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]