• 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
..
api Loading commit data...
asmjs Loading commit data...
assembler Loading commit data...
base Loading commit data...
codegen Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
date Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parser Loading commit data...
profiler Loading commit data...
regress Loading commit data...
strings Loading commit data...
tasks Loading commit data...
torque Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
run-all-unittests.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
testcfg.py Loading commit data...
unittests.status Loading commit data...