diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-09 05:42:06 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-09 05:42:06 +0000 |
commit | 75d5cf55dea0c1351ebd37d432545935698c5c18 (patch) | |
tree | 4b16acf01b6079779eb98fe73eefb586437e0bcf /iseq.c | |
parent | 433a4e66a25c3c05c23565c45b6764d3f367fff4 (diff) | |
download | ruby-75d5cf55dea0c1351ebd37d432545935698c5c18.tar.gz |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |