• 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
Name
Last commit
Last update
..
OWNERS Loading commit data...
expression-scope-reparenter.cc Loading commit data...
expression-scope-reparenter.h Loading commit data...
expression-scope.h Loading commit data...
func-name-inferrer.cc Loading commit data...
func-name-inferrer.h Loading commit data...
keywords-gen.h Loading commit data...
keywords.txt Loading commit data...
literal-buffer.cc Loading commit data...
literal-buffer.h Loading commit data...
parse-info.cc Loading commit data...
parse-info.h Loading commit data...
parser-base.h Loading commit data...
parser.cc Loading commit data...
parser.h Loading commit data...
parsing.cc Loading commit data...
parsing.h Loading commit data...
pending-compilation-error-handler.cc Loading commit data...
pending-compilation-error-handler.h Loading commit data...
preparse-data-impl.h Loading commit data...
preparse-data.cc Loading commit data...
preparse-data.h Loading commit data...
preparser-logger.h Loading commit data...
preparser.cc Loading commit data...
preparser.h Loading commit data...
rewriter.cc Loading commit data...
rewriter.h Loading commit data...
scanner-character-streams.cc Loading commit data...
scanner-character-streams.h Loading commit data...
scanner-inl.h Loading commit data...
scanner.cc Loading commit data...
scanner.h Loading commit data...
token.cc Loading commit data...
token.h Loading commit data...