Perhaps it would be better to add a boolean field to the weak cell. The nice thing about this version is that if the read barrier is forgotten, then it will immediately crash, but it seems a bit clumsy to put it in the field, which can
already be a valid pointer or a Smi zero.

https://codereview.chromium.org/892843002/

--
--
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.

Reply via email to