• 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...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...