• rmcilroy's avatar
    [Interpreter] Make dispatch table point to code entry instead of code objects. · 0c05e02f
    rmcilroy authored
    Modifies Ignition to store code entry addresses in the dispatch table
    rather than code objects. This allows the interpreter to avoid
    calculating the code entry address from the code object on every
    dispatch and provides a ~5-7% performance improvement on Octane with
    Ignition.
    
    This change adds ArchOpcode::kArchTailCallAddress to TurboFan to enable
    tail call dispatch using these code addresses. It also adds a Dispatch
    linkage creator (distinct from the stub linkage type used previously) to
    allow targetting a code address target (which will diverge further from
    the stub linkage type when we remove the context machine register in
    Ignition).
    
    BUG=v8:4280
    LOG=N
    
    Review URL: https://codereview.chromium.org/1882073002
    
    Cr-Commit-Position: refs/heads/master@{#35480}
    0c05e02f
interpreter.cc 58.5 KB