DescriptionFix for temporaries in parameter initializers
This patch introduces a mechanism for changing the scope of temporary
variables, which is necessary for rewriting arrow parameter
initializers.
It also fixes a potential bug in AstExpressionVisitor, which did not
visit the automatically generated members of ForEachStatement.
Fixes test/mjsunit/harmony/regress/regress-4658.js
R=rossberg@chromium.org
BUG=v8:4658
LOG=N
Committed: https://crrev.com/0406fa2237acb05af24a9e264d7d451f5901834f
Cr-Commit-Position: refs/heads/master@{#33183}
Patch Set 1 #
Messages
Total messages: 14 (6 generated)
|