On 07/18/2013 02:01 PM, Boris Zbarsky wrote:
So three reserved slots are not enough to the extent that DOM objects have more than three members (and they do!).
It seems like we could use non-reserved slots on proxies. Basically, we could pass the number of slots we want into ProxyObject::New, and it would use that to choose the GC allocation kind. Then you could just use getSlot and setSlot on them. We'd also have to change the marking code for proxies so that it marks those slots. It would just start at the first non-reserved slot and go up to slotSpan().
I might be forgetting some invariant though. Maybe someone will correct me. -Bill _______________________________________________ dev-tech-js-engine-internals mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

