• Clemens Hammacher's avatar
    [wasm] Split jump table and lazy compile table · 56eaec9d
    Clemens Hammacher authored
    We had both jump slots and lazy compile slots in the same table. This
    increases the space per slot to the maximum of the two, even though we
    often do not use lazy compilation and could have smaller jump slots.
    This CL splits the two into two separate tables. The lazy compile table
    will only be created on demand, and will never be patched.
    The jump table now only contains jumps, and is more compact (which
    might improve performance because of improved locality).
    
    R=mstarzinger@chromium.org
    
    Bug: v8:9477
    Change-Id: Ie182873a1ec612f71d1b54447021a9a8f8ca59db
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1698393Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62707}
    56eaec9d
test-jump-table-assembler.cc 9.54 KB