DescriptionAllow lazy parsing of eval-created functions
I don't see a reason why we can't benefit from preparsing such functions. We don't necessarily compile them, so fully parsing them when unnecessary is just additional overhead.
BUG=v8:5501
Committed: https://crrev.com/2325ad7e62f44f993561063bf21d33a0c76dbb19
Cr-Commit-Position: refs/heads/master@{#40248}
Patch Set 1 #Patch Set 2 : Add currently failing test for strict-mode eval which doesn't pollute the outer scope #Patch Set 3 : disallow preparsing without scope resolution of strict-mode evaled functions #
Messages
Total messages: 11 (5 generated)
|