stage2/wasm: implement function calls

During codegen we do not yet know the indexes that will be used for
called functions. Therefore, we store the offset into the in-memory
code where the index is needed with a pointer to the Decl and use this
data to insert the proper indexes while writing the binary in the flush
function.
6242ae35f3Isaac Freund committed on 8/19/2020, 12:05:13 AMparentfe3aa4c
3 files changedLine totals unavailable