• Andreas Haas's avatar
    [wasm] Extract StoreArgsInStackSlot function · b8bfa85f
    Andreas Haas authored
    There exists the pattern in wasm-compiler.cc of allocating a stack slot
    and filling it with values. This CL introduces a helper function for
    this pattern. Note that not all cases of this pattern can be changed to
    use the helper function. In these cases either the size of the stack
    slot is not statically known, or the stack slot is also used for return
    values.
    
    R=clemensb@chromium.org
    
    Bug: v8:10155
    Change-Id: I8497a22fed730424561fc32bc1cfa21643341643
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2093495Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66631}
    b8bfa85f
wasm-compiler.h 25.6 KB