<html>
    <head>
      <base href="https://bugs.documentfoundation.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - add optimisation helpers"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=39631#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - add optimisation helpers"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=39631">bug 39631</a>
              from <span class="vcard"><a class="email" href="mailto:sheikha443@gmail.com" title="sheikha <sheikha443@gmail.com>"> <span class="fn">sheikha</span></a>
</span></b>
        <pre>
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

<a href="http://ci.libreoffice.org/job/lo_gerrit_master/9846/">http://ci.libreoffice.org/job/lo_gerrit_master/9846/</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>