• Marja Hölttä's avatar
    [parser] Skipping inner funcs: fix async arrow funcs. · 62960a03
    Marja Hölttä authored
    Track whether the async arrow func parameter list was simple or not; the
    information is already there, we just didn't pipe it through correctly. It's
    needed by PreParser so that it can create the correct Scope structure.
    
    Implementation notes:
    
    - I could've used async_classifier for transmitting the "is_simple" bit, but I
      made it explicit (it would be unnecessary to use ExpressionClassifier for
      this, as we're not classifying any expressions) instead.
    
    - I'm also moving work (setting parameter_list.is_simple) from Parser to
      ParserBase, and adding a DCHECK in Parser to assert that the work was indeed
      already done.
    
    BUG=v8:5516,chromium:765532
    
    Change-Id: Iacf91b150d1b57996544b5e64baa7d91ac134445
    Reviewed-on: https://chromium-review.googlesource.com/674695
    Commit-Queue: Marja Hölttä <marja@chromium.org>
    Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48132}
    62960a03
Name
Last commit
Last update
..
OWNERS Loading commit data...
duplicate-finder.h Loading commit data...
expression-classifier.h Loading commit data...
expression-scope-reparenter.cc Loading commit data...
expression-scope-reparenter.h Loading commit data...
func-name-inferrer.cc Loading commit data...
func-name-inferrer.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...
pattern-rewriter.cc Loading commit data...
preparse-data-format.h Loading commit data...
preparse-data.cc Loading commit data...
preparse-data.h Loading commit data...
preparsed-scope-data.cc Loading commit data...
preparsed-scope-data.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.cc Loading commit data...
scanner.h Loading commit data...
token.cc Loading commit data...
token.h Loading commit data...