diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-09 17:46:10 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-09 17:46:10 +0000 |
commit | 8ba979b0eb71513469d6d65608ffa2eaed2ae296 (patch) | |
tree | ba8338a5edceef72d160b84615a39afcbc9fc998 /iseq.c | |
parent | 247d8312ecdb99c008286311a39aa934f356577a (diff) |
merge revision(s) r47190: [Backport #10139]
* string.c (setup_fake_str): fake strings should not set class by
RBASIC_SET_CLASS() because it insert write barriers to fake
(non-RVALUE) structure.
It can cause unexpected behaviour.
Ruby 2.1 also have a same problem (setup_fake_str() in parse.y).
* symbol.c (setup_fake_str): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
0 files changed, 0 insertions, 0 deletions