binaryen
binaryen copied to clipboard
C API inconsistency on CallRef's isReturn
CallRef gets an isReturn param
https://github.com/WebAssembly/binaryen/blob/93f40ae40a8f373fce9da8e20997eafdd618fd0b/src/binaryen-c.h#L1014-L1020
while Call/CallIndirect have two variants instead, BinaryenCall, BinaryenReturnCall. We should probably standardize on one.
Noticed in https://github.com/WebAssembly/binaryen/pull/8103/