wasm: Unify function generation

Like decl code generation, also unify the wasm backend and the wasm linker to call into
the general purpose `codegen.zig` to generate the code for a function.
13fca53b92Luuk de Gram committed on 3/6/2022, 6:38:53 PMparent2faba40
3 files changedLine totals unavailable