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 /vm_core.h | |
parent | 433a4e66a25c3c05c23565c45b6764d3f367fff4 (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 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ struct rb_iseq_constant_body { struct { rb_snum_t flip_count; VALUE coverage; - VALUE original_iseq; + VALUE *original_iseq; } variable; unsigned int local_table_size; |