• 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
..
bytecode-array-builder-unittest.cc Loading commit data...
bytecode-array-iterator-unittest.cc Loading commit data...
bytecode-array-random-iterator-unittest.cc Loading commit data...
bytecode-array-writer-unittest.cc Loading commit data...
bytecode-decoder-unittest.cc Loading commit data...
bytecode-node-unittest.cc Loading commit data...
bytecode-operands-unittest.cc Loading commit data...
bytecode-register-allocator-unittest.cc Loading commit data...
bytecode-register-optimizer-unittest.cc Loading commit data...
bytecode-source-info-unittest.cc Loading commit data...
bytecode-utils.h Loading commit data...
bytecodes-unittest.cc Loading commit data...
constant-array-builder-unittest.cc Loading commit data...
interpreter-assembler-unittest.cc Loading commit data...
interpreter-assembler-unittest.h Loading commit data...