Chromium Code Reviews
Description[es6] conditionally ignore TDZ semantics for formals
If HasParameterExpressions is false, a new lexical environment is not
meant to be created for formals without expressions, because they
cannot possibly leak information.
Implementing this change allows formal binding patterns and rest
parameters to be desugared using `VAR` bindings which do not require
hole-checking, and is significantly more performant for common cases.
BUG=v8:2160, v8:811
LOG=N
R=adamk, rossberg, wingo
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||