[mono][wasm] Fix the passing/returning of small vtypes. (#62299)
authorZoltan Varga <vargaz@gmail.com>
Fri, 3 Dec 2021 19:38:03 +0000 (14:38 -0500)
committerGitHub <noreply@github.com>
Fri, 3 Dec 2021 19:38:03 +0000 (14:38 -0500)
commit915ee6db9cb871bb2ef32698015bca0f2c895ce8
treefcd3f079c3e9b1d6e823f6dff1abd1c379f4a80c
parenta083a21ec1516a59eb42ebe364c20e78026e3d1d
[mono][wasm] Fix the passing/returning of small vtypes. (#62299)

According to the ABI, they need to be returned by value.
src/mono/mono/mini/mini-llvm.c
src/mono/mono/mini/mini-wasm.c
src/mono/mono/mini/mini.h