https://codereview.chromium.org/816913003/diff/710001/src/arm64/full-codegen-arm64.cc
File src/arm64/full-codegen-arm64.cc (right):

https://codereview.chromium.org/816913003/diff/710001/src/arm64/full-codegen-arm64.cc#newcode285
src/arm64/full-codegen-arm64.cc:285: if (is_strict(language_mode()) ||
!is_simple_parameter_list()) {
On 2015/02/13 16:27:14, Dmitry Lomov (chromium) wrote:
Is this just temporary and we later add support for sloppy args with
rest
parameters?

This is specced (FunctionDeclarationInstantiation, 9.2.13) --- always
create unmapped arguments object IsSimpleParameterList() is false

```
21. If argumentsObjectNeeded is true, then
    a. If strict is true or if simpleParameterList is false, then
        i. Let ao be CreateUnmappedArgumentsObject(argumentsList).
    b. Else,
        i. NOTE mapped argument object is only provided for non-strict
functions that don’t have a rest parameter, any parameter default value
initializers, or any destructured parameters .
        ii. Let ao be CreateMappedArgumentsObject(func, formals,
argumentsList, env).
```

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