• rmcilroy's avatar
    [Interpreter] Enable runtime profiler support for Ignition. · b62bf1e6
    rmcilroy authored
    Adds a profiling counter to each BytecodeArray object, and adds
    code to Jump and Return bytecode handlers to update this
    counter by the size of the jump or the distance from the return
    to the start of the function. This is more accurate than fullcodegen's
    approach since it takes forward jumps into account as well as back-edges.
    
    Modifies RuntimeProfiler to track ticks for interpreted frames.
    Currently we use the SharedFunctionInfo::profiler_ticks() instead
    of adding another to tick field to avoid adding another field to
    BytecodeArray since SharedFunctionInfo::profiler_ticks() is only
    used by Crankshaft otherwise so we shouldn't need both for
    
    BUG=v8:4689
    LOG=N
    
    Review URL: https://codereview.chromium.org/1707693003
    
    Cr-Commit-Position: refs/heads/master@{#34166}
    b62bf1e6
Name
Last commit
Last update
..
OWNERS Loading commit data...
bytecode-array-builder.cc Loading commit data...
bytecode-array-builder.h Loading commit data...
bytecode-array-iterator.cc Loading commit data...
bytecode-array-iterator.h Loading commit data...
bytecode-generator.cc Loading commit data...
bytecode-generator.h Loading commit data...
bytecode-register-allocator.cc Loading commit data...
bytecode-register-allocator.h Loading commit data...
bytecode-traits.h Loading commit data...
bytecodes.cc Loading commit data...
bytecodes.h Loading commit data...
constant-array-builder.cc Loading commit data...
constant-array-builder.h Loading commit data...
control-flow-builders.cc Loading commit data...
control-flow-builders.h Loading commit data...
handler-table-builder.cc Loading commit data...
handler-table-builder.h Loading commit data...
interpreter-assembler.cc Loading commit data...
interpreter-assembler.h Loading commit data...
interpreter.cc Loading commit data...
interpreter.h Loading commit data...
register-translator.cc Loading commit data...
register-translator.h Loading commit data...
source-position-table.cc Loading commit data...
source-position-table.h Loading commit data...