stage2/wasm: only free types after func overwrite

Functions which are free'd are not immediately removed from the binary
as this would cause a shifting of function indexes. Instead, they hang
around until they can be overwritten by a new function. This means that
the types associated with these dead functions must also remain until
the function is overwritten to avoid a type mismatch.
f9963909a1Isaac Freund committed on 8/17/2020, 11:01:13 PMparent60fb50e
1 file changedLine totals unavailable