-
Manos Koukoutos authored
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/+/3162606Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#76910}
db95e20b