Subj : Re: Reserving another slot for private data To : netscape.public.mozilla.jseng From : Brendan Eich Date : Thu Apr 22 2004 03:04 pm Brendan Eich wrote: >> The problem is that conversion to & from a jsval could drop the >> left-most bit in the pointer, which would be problematic. > > > > How so? The jsval is a tagged pointer to the object, string, or double. > The reserved slots you want are in each object's slots array. Oh, I see what you mean. You were worrying about tagging a pointer to private data. That's what PRIVATE_TO_JSVAL is for. It requires that the pointer is an even address. /be .