Re: [JS-internals] Shape mysteries

2014-07-14 Thread Nicholas Nethercote
On Mon, Jul 14, 2014 at 6:48 PM, Bill McCloskey bill.mccloskey.b...@gmail.com wrote: I don't know about the duplicate length shape, although we do a lot of weird stuff related to that, so it's not too surprising. Maybe it's something related to this?

Re: [JS-internals] Shape mysteries

2014-07-14 Thread Nicholas Nethercote
On Mon, Jul 14, 2014 at 7:52 PM, Nicholas Nethercote n.netherc...@gmail.com wrote: In all three cases ObjectImpl::setFlag() gets called, which calls onto Shape::replaceLastProperty(), which ends up replacing the shape by creating one that's very similar but has a different flag... but the

Re: [JS-internals] Shape mysteries

2014-07-14 Thread Nicholas Nethercote
On a related note: class MouseEvent emptyShape id isTrusted g/s 0x7f0686017280/(nil) slot -1 attrs 55 (enumerate permanent getter shared) flags 0 nkids=0 id isTrusted g/s 0x7f066db02cc0/(nil) slot -1 attrs 55 (enumerate permanent getter shared) flags 0 nkids=0 id isTrusted g/s