• 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
..
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...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...