summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-09 05:42:06 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-09 05:42:06 (GMT)
commit75d5cf55dea0c1351ebd37d432545935698c5c18 (patch)
tree4b16acf01b6079779eb98fe73eefb586437e0bcf /vm_core.h
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 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index a5ba190..06bd93d 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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;