One thing that should make things simpler is that we should create an
unmapped/strict arguments object in the presences of rest parameters. Therefore the alias trouble that you are running into for sloppy functions will go away.

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-createunmappedargumentsobject
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-function-definitions-static-semantics-issimpleparameterlist


https://codereview.chromium.org/816913003/diff/200001/src/ast.h
File src/ast.h (right):

https://codereview.chromium.org/816913003/diff/200001/src/ast.h#newcode403
src/ast.h:403: void set_ellipsis(int location) {
I don't think this approach is going to work. Once we have default
params and destructuring we really need an AST node here.

https://codereview.chromium.org/816913003/

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