LGTM, however there's one major question that I'm not sure about:

Both the receiver map and the transition map is in a weak cell. Now
what happens if the receiver map is still alive, but the transition map
dies? I guess we currently handle this with special code in the IC
handler. But ideally the transition maps would be strong referenced
as long as the receiver map is alive, right? So can we use some kind
of Ephemeron for this, i.e. a WeakMap with the receiver map as key
and (transition map, handler) as value?

https://codereview.chromium.org/1316953003/

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