• Leszek Swirski's avatar
    [ast] Cache allocated AstConsString · 7fa19160
    Leszek Swirski authored
    Allow caching the result of allocating AstConsStrings, to allow
    sharing of inferred names between functions.
    
    This is a partial revert of https://crrev.com/c/2020953, with
    the observation that *some* AstConsStrings are always flattened,
    while others are only ever used as ConsStrings, so we want to
    allow the allocation to be lazy while still caching the result.
    
    As a drive-by, cleanup the old AstConsString linked list fields.
    
    Bug: chromium:1011762
    Bug: chromium:1048082
    Change-Id: Icc14342eb3f6f97359596b42b2c296cbc49fd791
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2042093
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66168}
    7fa19160
Name
Last commit
Last update
..
OWNERS Loading commit data...
ast-function-literal-id-reindexer.cc Loading commit data...
ast-function-literal-id-reindexer.h Loading commit data...
ast-source-ranges.h Loading commit data...
ast-traversal-visitor.h Loading commit data...
ast-value-factory.cc Loading commit data...
ast-value-factory.h Loading commit data...
ast.cc Loading commit data...
ast.h Loading commit data...
modules.cc Loading commit data...
modules.h Loading commit data...
prettyprinter.cc Loading commit data...
prettyprinter.h Loading commit data...
scopes.cc Loading commit data...
scopes.h Loading commit data...
source-range-ast-visitor.cc Loading commit data...
source-range-ast-visitor.h Loading commit data...
variables.cc Loading commit data...
variables.h Loading commit data...