[es6] Fix parsing of expressions in patterns
authorrossberg <rossberg@chromium.org>
Fri, 7 Aug 2015 21:55:44 +0000 (14:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 21:56:00 +0000 (21:56 +0000)
commit73ae23b5dc9bd816474688e74b9b768a09b9711f
tree6556f09a1a43060fba858f700d5bb1f4a919f124
parent46fafcd706c0c161013c4904b69af0061d983d6f
[es6] Fix parsing of expressions in patterns

Fixes the use of eval calls in strict parameter lists in particular.

R=adamk@chromium.org
BUG=v8:811
LOG=N

Review URL: https://codereview.chromium.org/1276273002

Cr-Commit-Position: refs/heads/master@{#30074}
src/expression-classifier.h
src/preparser.h
test/mjsunit/harmony/destructuring.js