https://codereview.chromium.org/1317033005/diff/20001/src/preparser.h
File src/preparser.h (right):
https://codereview.chromium.org/1317033005/diff/20001/src/preparser.h#newcode3288
src/preparser.h:3288:
!IsArrowFunction(result->AsFunctionLiteral()->kind())) {
On 2015/09/19 21:34:36, caitp wrote:
The only time you _need_ to force re-parsing of arrows is when the
parameter
list contains expressions (eg an initializer), so we could probably
add an extra
condition to escape lazy parsing here. But, it might not matter that
much
anyway, so.
That's a good point. It might make sense to avoid enforcing lazy parsing
for arrow functions with simple parameters. I expect arrow IIFE to
become a not too-uncommon use case.
https://codereview.chromium.org/1317033005/
--
--
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.