diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-22 21:50:31 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-22 21:50:31 +0000 |
commit | 099e6e7817f2b07cbbf1548b38178086022b5cb3 (patch) | |
tree | c1c63c15a0a9e59d21d0217fb91e177ea28d28dd /ChangeLog | |
parent | 8b71b4e5c5b79b2519203626b0cf933971f78117 (diff) | |
download | ruby-099e6e7817f2b07cbbf1548b38178086022b5cb3.tar.gz |
struct.c: cache member definition in a subclass
Since getting Qnil is already error, it is safe to use rb_attr_get.
* struct.c (struct_ivar_get): cache member definition in a subclass
Thanks to Sokolov Yura aka funny_falcon <funny.falcon@gmail.com>
in https://bugs.ruby-lang.org/issues/10585
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Tue Jun 23 06:37:10 2015 Eric Wong <e@80x24.org> + + * struct.c (struct_ivar_get): cache member definition in a subclass + Thanks to Sokolov Yura aka funny_falcon <funny.falcon@gmail.com> + in https://bugs.ruby-lang.org/issues/10585 + Tue Jun 23 04:58:06 2015 Eric Wong <e@80x24.org> * benchmark/bm_vm2_struct_big_href_hi.rb: new benchmark |