• Manos Koukoutos's avatar
    Reland "[wasm] Introduce CallInfo in WasmGraphBuildingInterface" · 6ec7e0a7
    Manos Koukoutos authored
    This is a reland of db95e20b
    
    Changes compared to original:
    Only invoke std::memcpy if source is not null.
    
    Original change's description:
    > [wasm] Introduce CallInfo in WasmGraphBuildingInterface
    >
    > The DoCall and DoReturnCall functions implement function calls in
    > WasmGraphBuilderInterface. These functions need different arguments
    > based on if the call is direct, indirect or call_ref. Right now, these
    > arguments are misnamed in some cases, and callers have to pass default
    > values for unused arguments.
    > This CL tidies up the arguments of these functions by introducing a
    > CallInfo class which provides different constructors based on the type
    > of the call, where only the required arguments need to be passed.
    >
    > Change-Id: Ie03de6d3cf253a9baa0369f569589bb91d0b1866
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3162606
    > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    > Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#76910}
    
    Change-Id: I85cb5479f013e6625adce421d011c0b2ae073260
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3168626Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#76926}
    6ec7e0a7
graph-builder-interface.cc 66.7 KB