[Bug 39631] add optimisation helpers

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 5 00:37:41 PST 2016


--- Comment #11 from sheikha <sheikha443 at gmail.com> ---

I add SAL_LIKELY, SAL_UNLIKELY ,SAL_HOT, SAL_COLD pair of macro in sal/types.h
before that I add 
 _SAL_BOOLEAN_EXPR which is an alternative way  of using __builtin_expect which
is good for implicit conversion to bool, because __builtin_expect 
cause a compilation error it cannot convert  to long int.

see here the patch


You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20160105/72342aae/attachment.html>

More information about the LibreOffice mailing list