This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: More __builtin_expect fun


Andrew Haley wrote:

> Great.  One small nit: as this is C++ code, shouldn't this
>
>   if (__builtin_expect (! obj || isPrimitive (), 0))
>     return false;
>
> read better as:
>
>   if (__builtin_expect (! obj || isPrimitive (), false))
>     return false;

Yeah. I used "0" to maintain consistency with the __builtin_expect calls that
Anthony already added. If I change it in my patch, it would make sense to go
back and change all the __builtin_expect calls to use "false". ok?

regards

  [ bryce ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]