On 2/24/15 11:06 AM, obastemur wrote:
Private slot holds the native wrapper object. Is there another way to keep a 
memory reference on a JSObject other than private slot or (indexed slots) ?

Metadata, right?

Also, what do you plan to do with objects that _do_ already have a
private slot and use it?

I've JS_HasPrivate check, if an object already has it then it's fine, I can use 
it.

I'm not following. If the object already has a private slot, it's putting something in there and expects to find it, no? If you put your own thing in there instead, that doesn't seem like it would work well...

-Boris
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to