I see. However, before your reply I had another proposal worked out. It is not as brittle but it's more specific (only works when arguments is the receiver,
however that seems to be the case almost always). Patch here:
http://pastebin.com/r3VbDSk0

Here's how it would look with ArraySlice implementation:
http://pastebin.com/R1924p4i There's some code specific to the case when
arguments is receiver but most of the code
could probably be extracted out if ArraySlice is implemented as a normal inlined
built-in as well to avoid code duplication.

What do you think?

https://codereview.chromium.org/330303002/

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