• 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
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...