diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-29 07:21:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-29 07:21:24 +0000 |
commit | d5bcf779b5807bf158ea68bbc53d285cdaaa6699 (patch) | |
tree | 7fc000860aef5eba69c8c3c2329387e06d0d0177 /internal.h | |
parent | 576ff7de7bcaef787b8a3b8fb55c7b4192841f22 (diff) | |
download | ruby-d5bcf779b5807bf158ea68bbc53d285cdaaa6699.tar.gz |
gc.c: fix UNLIKELY usage
* gc.c (gc_event_hook_needed_p): UNLIKELY makes no sense for
boolean flag value.
* gc.c (gc_event_hook, newobj_init): use in conditions instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
0 files changed, 0 insertions, 0 deletions