Reviewers: Dmitry Lomov (chromium), rossberg,
Message:
PTAL
Other ports will be done once this approach has been approved of.
Description:
[strong] Check arity of functions
In strong mode it is an error to call a function with too few
arguments.
This is enforced inside the ArgumentsAdaptorTrampoline.
This does not yet handle rest parameters
BUG=v8:3956
LOG=N
[email protected], [email protected]
Please review this at https://codereview.chromium.org/1115263004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+229, -3 lines):
M src/messages.js
M src/objects.h
M src/runtime/runtime.h
M src/runtime/runtime-function.cc
M src/x64/builtins-x64.cc
M test/mjsunit/strong/declaration-after-use.js
A test/mjsunit/strong/function-arity.js
--
--
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.