DescriptionPreparse lazy function parameters
Parameters of a lazily parsed function used to be parsed eagerly, and parameter
handling was split between Parser::ParseFunctionLiteral and
ParseEagerFunctionBody, leading to inconsistencies.
After this CL, we preparse (lazy parse) the parameters of lazily parsed
functions.
(For arrow functions, we cannot do that ofc.)
This is needed for later features (PreParser with scope analysis).
-- CL adapted from marja's https://codereview.chromium.org/2411793003/
BUG=
Committed: https://crrev.com/4ff2cafe9309b591b1ecd68823d2a01cedf5efb8
Cr-Commit-Position: refs/heads/master@{#40771}
Patch Set 1 #Patch Set 2 : Better pack log entries #Patch Set 3 : fix #
Total comments: 4
Patch Set 4 : IsArrowFunction #
Messages
Total messages: 11 (4 generated)
|