Can't you derive STORE_AS_HANDLE / STORE_AS_POINTER from the input type?
I find the names TYPE_BASED_WALK / MAP_BASED_WALK quite confusing. They are
just
artifacts from our current implementation right?
What I think you want is to just have 2 versions: one which takes JSObjects
as
input, and one which takes Objects as input. From Object we first derive the
"root" as I did in lookup.[h|cc], and then walk the prototype JSObject-based
chain starting from that root. So we only need to use GetPrototype(Isolate*)
once for translating Object* to JSObject.
The result of GetCurrent() probably should be a JSReceiver since it could
be a
proxy. When current is JSProxy, we are at end as well.
The only actual manual configuration we need, I think, is where to stop.
https://codereview.chromium.org/348313002/
--
--
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.