diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-05 17:23:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-05 17:23:32 +0000 |
commit | eb79191f16dea9547ded38413b38f4de3fa78569 (patch) | |
tree | 180d91f941c8e4b7958bc7193bf1b12a7d63432e /thread_sync.c | |
parent | 756914e57ed6c818155961e43d502132a401cc20 (diff) | |
download | ruby-eb79191f16dea9547ded38413b38f4de3fa78569.tar.gz |
Introduce "COLDFUNC" function attribute.
* include/ruby/defines.h: introduce "COLDFUNC" function attribute
on several compilers for called unlikely functions.
Apply to rb_memerror, rb_warn and rb_bug.
A patch form methodmissing <lourens@bearmetal.eu>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
0 files changed, 0 insertions, 0 deletions