• Dan Elphick's avatar
    [compiler] Skip creating unneeded objects for lazy source positions · 735f3a68
    Dan Elphick authored
    This changes Compiler::CollectSourcePositions to skip finalization of
    the BytecodeArray, constant table, handler table, ScopeInfos as well as
    internalization of Ast values since only the source position table is
    used and the others will be collected soon after by the GC.
    
    It will also now avoid recompiling inner functions that would otherwise
    be eagerly compiled.
    
    BytecodeArrayWriter::ToBytecodeArray has been changed to never populate
    the source_position_table.
    
    Bug: v8:8510
    Change-Id: I2db2f2da6b48fde11f17a20d017c1a54c0a34fc2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1763538
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63365}
    735f3a68
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...
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...