Description[parser] Fix bug in destructuring binding for catch.
For variables introduced as part of a catch pattern, we used to set their
"initializer position" to the beginning of the pattern. This lead to
full-codegen eliminating crucial hole checks when reading such variables
inside the pattern itself.
R=adamk@chromium.org, littledan@chromium.org
BUG=v8:5178
Committed: https://crrev.com/4a4f7175dfdc246f1ed864cd0b86ccb6e837dee3
Cr-Commit-Position: refs/heads/master@{#37569}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 16 (6 generated)
|