diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-15 08:29:22 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-15 08:29:22 +0000 |
commit | a0908cb41356f4384a3e9a199c14490a452080ef (patch) | |
tree | d39f8594878553632d951423d22bc2542d4ffd06 /ChangeLog | |
parent | 28c42b4c25c48f65cd559018678a5cf34d387c24 (diff) | |
download | ruby-a0908cb41356f4384a3e9a199c14490a452080ef.tar.gz |
remove redundant NULL check in mark functions
gc.c (gc_mark_children)only calls mark_func if the T_DATA ptr is
non-NULL, so avoid redundantly checking for that in each
mark function.
* iseq.c (iseq_mark): remove check for data pointer
* proc.c (binding_mark): ditto
* vm.c (rb_thread_mark): ditto
* vm_trace.c (tp_mark): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51252 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 @@ +Wed Jul 15 17:27:40 2015 Eric Wong <e@80x24.org> + + * iseq.c (iseq_mark): remove check for data pointer + * proc.c (binding_mark): ditto + * vm.c (rb_thread_mark): ditto + * vm_trace.c (tp_mark): ditto + Wed Jul 15 16:55:04 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * encoding.c (enc_autoload): drop dummy encoding flag from |