diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-04 07:23:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-04 07:23:20 +0000 |
commit | 2974b00f1713156528db1d482cf247c1c37c7ceb (patch) | |
tree | 057a76a1b72cf701fd18ddc59cffff0fa29c6b9e /ChangeLog | |
parent | d3842de5c9baa2962e01d02b2499eac49d9065a6 (diff) |
marshal.c: GC guard
* marshal.c (w_object, marshal_dump, r_object0, marshal_load): use
RB_GC_GUARD() (directly or indirectly) instead of volatile.
* variable.c (rb_path_to_class): prevent the arguemnt from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Tue Dec 4 16:23:12 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * marshal.c (w_object, marshal_dump, r_object0, marshal_load): use + RB_GC_GUARD() (directly or indirectly) instead of volatile. + + * variable.c (rb_path_to_class): prevent the arguemnt from GC. + Tue Dec 04 13:55:07 2012 Koichi Sasada <ko1@atdot.net> * vm_opts.h: enable optimization - operand unifications. |