• Marja Hölttä's avatar
    [parser] Skipping inner funcs: collect data needed for allocation, not the allocation result. · f489f7ab
    Marja Hölttä authored
    This pretty much rewrites the preparsed scope data collection. We used to store
    the allocation result, but it's faster to just store the raw data which is
    needed for deciding it later. (This way we don't need to run the allocation
    algorithm for just getting this data.)
    
    For each variable: is_used, maybe_assigned,
    has_forced_context_allocation, and for each scope:
    inner_scope_calls_eval_.
    
    In addition, this CL moves data handling out of Scope and into
    PreParsedScopeData where it belongs and simplifies the API for
    PreParsedScopeData.
    
    BUG=v8:5516
    R=vogelheim@chromium.org
    
    Change-Id: Ia5a4fa52f585cd4f483ce9a92f2dd7d9754f34ed
    Reviewed-on: https://chromium-review.googlesource.com/451273
    Commit-Queue: Marja Hölttä <marja@chromium.org>
    Reviewed-by: 's avatarDaniel Vogelheim <vogelheim@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43641}
    f489f7ab
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...
.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...