https://codereview.chromium.org/899363002/diff/20001/src/preparser.cc
File src/preparser.cc (right):

https://codereview.chromium.org/899363002/diff/20001/src/preparser.cc#newcode949
src/preparser.cc:949: CheckStrictFunctionParameters(eval_args_error_loc,
dupe_error_loc,
On 2015/02/06 00:03:55, arv wrote:
Another option might be to pass in language_mode(), kind, is_rest to
CheckStrictFunctionNameAndParameters.

Yeah, I think that's a better move than having to duplicate both the
check_params and check_name logic in the parser and preparser.

https://codereview.chromium.org/899363002/

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