https://codereview.chromium.org/753553002/diff/40001/include/v8.h
File include/v8.h (right):
https://codereview.chromium.org/753553002/diff/40001/include/v8.h#newcode517
include/v8.h:517: if (b == 0) return false;
On 2014/11/28 14:21:25, Erik Corry wrote:
On 2014/11/28 12:15:11, picksi1 wrote:
> If you changed the two above if's with...
>
> if (a==b) return true; // both are null, or point at the same thing
> if ((a & b)==0) return false; // One is null
>
> ... you'd save having to deference the pointer if a & b both point
at the same
> thing... Don't know if this is an impossible case though?
Not sure, but you definitely don't want bitwise & here :-)
:) Oops
https://codereview.chromium.org/753553002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.