• Dan Elphick's avatar
    Revert "[parsing] Improve elision of hole checks for default parameters" · a61ce8a0
    Dan Elphick authored
    This reverts commit e8d86597.
    
    Reason for revert: crbug.com/981701
    
    Original change's description:
    > [parsing] Improve elision of hole checks for default parameters
    > 
    > Use the position of the next parameter to be declared as the end of the
    > initializer for default parameters, so that hole checks can be elided
    > for initializers using previous parameters in arrow functions.
    > 
    > This fixes a source of bytecode mismatches when collecting source
    > positions lazily.
    > 
    > Bug: chromium:980422, v8:8510
    > Change-Id: I5ab074231248b661156e7d8e47c01685448b56d5
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1683267
    > Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    > Commit-Queue: Dan Elphick <delphick@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#62525}
    
    TBR=verwaest@chromium.org,delphick@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: chromium:980422, v8:8510
    Change-Id: I3abd70a1fb00967e58b46177655a0078e24db720
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1697242Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62630}
    a61ce8a0
expression-scope.h 25.7 KB