wasm: Implement codegen for C-ABI

This implements passing arguments and storing return values correctly
for the C-ABI as specified by the tool-convention:
https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md

There's definitely room for better codegen in follow-up commits.
5f2d0d414dLuuk de Gram committed on 4/26/2022, 10:20:27 AMparentcb49af6
2 files changedLine totals unavailable