• 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
..
OWNERS Loading commit data...
duplicate-finder.cc Loading commit data...
duplicate-finder.h Loading commit data...
expression-classifier.h Loading commit data...
func-name-inferrer.cc Loading commit data...
func-name-inferrer.h Loading commit data...
parameter-initializer-rewriter.cc Loading commit data...
parameter-initializer-rewriter.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...