• Pierre Langlois's avatar
    Reland "[snapshot] Add support for native counters." · a7fa1ae2
    Pierre Langlois authored
    This is a reland of 93716b9e
    
    Original change's description:
    > [snapshot] Add support for native counters.
    > 
    > Counters in generated code, as enabled with --native-code-counters, do not work
    > in the snapshot. This adds a `v8_enable_snapshot_code_counters` build option
    > enabled by defaut in debug mode that allows code from the snapshot to increment
    > the current isolate's set of counters.
    > 
    > For this to work, we need to add native code counters in the external reference
    > table.
    > 
    > To keep the no snapshot configuration similar, we've also enabled the
    > --native-code-counters flag by default for debug builds.
    > 
    > Change-Id: I4478b79858c9b04f57e06e7ec67449e9e3a76f53
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1528998
    > Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    > Reviewed-by: Peter Marshall <petermarshall@chromium.org>
    > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#60495}
    
    Change-Id: Ib6427caf068ca196a032e3f3b97d9f9219e0fe60
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1543349Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Cr-Commit-Position: refs/heads/master@{#60507}
    a7fa1ae2
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-mips64-inl.h Loading commit data...
assembler-mips64.cc Loading commit data...
assembler-mips64.h Loading commit data...
constants-mips64.cc Loading commit data...
constants-mips64.h Loading commit data...
cpu-mips64.cc Loading commit data...
deoptimizer-mips64.cc Loading commit data...
disasm-mips64.cc Loading commit data...
frame-constants-mips64.cc Loading commit data...
frame-constants-mips64.h Loading commit data...
interface-descriptors-mips64.cc Loading commit data...
macro-assembler-mips64.cc Loading commit data...
macro-assembler-mips64.h Loading commit data...
register-mips64.h Loading commit data...
simulator-mips64.cc Loading commit data...
simulator-mips64.h Loading commit data...