Revert of [es6] implement default parameters via desugaring (patchset #19 id:380001...
authorcaitpotter88 <caitpotter88@gmail.com>
Mon, 1 Jun 2015 18:34:55 +0000 (11:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 1 Jun 2015 18:35:03 +0000 (18:35 +0000)
commit904fbc303a759de5d1d83667a1203f44a8ef9760
treebdfc84632a356386d9bad05652c41685151e45d4
parent892c85485881f8be2f17bd83238980f858126576
Revert of [es6] implement default parameters via desugaring (patchset #19 id:380001 of https://codereview.chromium.org/1127063003/)

Reason for revert:
Broken on arm64

Original issue's description:
> [es6] implement default parameters via desugaring
>
> Stage 1 implementation:
>
> - Parameters can't be referenced before initialized (from left-to-right)
> - SingleNameBindings only, no support for BindingPatterns
>
> Known issues:
>
> - Incorrect scoping (parameter expressions may reference variables declared in function body)
> - Function arity is untouched
> - Hole-checking needs work
> - Rest parameters are broken when mixed with optional arguments
>
> BUG=v8:2160
> LOG=N
> R=arv@chromium.org, rossberg@chromium.org
>
> Committed: https://crrev.com/892c85485881f8be2f17bd83238980f858126576
> Cr-Commit-Position: refs/heads/master@{#28739}

TBR=rossberg@chromium.org,wingo@igalia.com,arv@chromium.org,dslomov@chromium.org,adamk@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:2160

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

Cr-Commit-Position: refs/heads/master@{#28740}
13 files changed:
src/bootstrapper.cc
src/flag-definitions.h
src/messages.h
src/parser.cc
src/parser.h
src/preparser.cc
src/preparser.h
src/scopes.cc
src/scopes.h
src/variables.h
test/mjsunit/harmony/default-parameters-debug.js [deleted file]
test/mjsunit/harmony/default-parameters-lazy.js [deleted file]
test/mjsunit/harmony/default-parameters.js [deleted file]