• caitpotter88's avatar
    Revert of [es6] implement default parameters via desugaring (patchset #19... · 904fbc30
    caitpotter88 authored
    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}
    904fbc30
flag-definitions.h 46.6 KB