diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-14 23:59:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-14 23:59:23 +0000 |
commit | 1ca0f9452ba2aa5f286578b2a37be05fc2d3ed39 (patch) | |
tree | 056ff384515a4d220ef0e5b7216a4a3d7d9d0101 /ChangeLog | |
parent | 4659b47a9ebc9476fdf313e5e56abe3d182bd726 (diff) | |
download | ruby-1ca0f9452ba2aa5f286578b2a37be05fc2d3ed39.tar.gz |
gc.h: evaluate the macro argument only once
* gc.h (RUBY_MARK_UNLESS_NULL): evaluate the argument only once
to get rid of inadvertent side effects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Jul 15 08:59:19 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * gc.h (RUBY_MARK_UNLESS_NULL): evaluate the argument only once + to get rid of inadvertent side effects. + Wed Jul 15 02:53:11 2015 Koichi Sasada <ko1@atdot.net> * vm_core.h, vm.c: remove rb_proc_t::envval because we can know it via |