Switching to use a LookupIterator cleaned this up a bit.


https://codereview.chromium.org/384963002/diff/190001/src/unscopables.h
File src/unscopables.h (right):

https://codereview.chromium.org/384963002/diff/190001/src/unscopables.h#newcode24
src/unscopables.h:24: if (it->state() == LookupIterator::JSPROXY) {
Toon, this is a bit ugly. I was considering adding a GetHolderOrJSProxy
but changing GetHolder to return a JSReceiver seems reasonable to me as
well.

I'll look at the hidden prototype issue tomorrow.

https://codereview.chromium.org/384963002/

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