summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-09 05:42:06 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-09 05:42:06 +0000
commit75d5cf55dea0c1351ebd37d432545935698c5c18 (patch)
tree4b16acf01b6079779eb98fe73eefb586437e0bcf /iseq.c
parent433a4e66a25c3c05c23565c45b6764d3f367fff4 (diff)
RSTRING_PTR is not guaranteed to be VALUE-aligned (retry)
Don't abuse struct RString to hold arbitrary memory region. Raw pointer should just suffice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 74a29a6b85..67a89e1a6b 100644
--- a/iseq.c
+++ b/iseq.c
@@ -222,7 +222,6 @@ rb_iseq_mark(const rb_iseq_t *iseq)
}
rb_gc_mark(body->variable.coverage);
- rb_gc_mark(body->variable.original_iseq);
rb_gc_mark(body->location.label);
rb_gc_mark(body->location.base_label);
rb_gc_mark(body->location.pathobj);