aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/link/MachO.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-08-17 23:49:06 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-08-18 01:01:13 +0200
commitf9963909a1cf73eaee47102f4e4dcafe5afa3898 (patch)
treecdeae4330ae7e20f9f286f1a16f344a45e6eacb8 /src-self-hosted/link/MachO.zig
parent60fb50ee5a4a06687bf2f7b8774cc46f73a5b07e (diff)
downloadzig-f9963909a1cf73eaee47102f4e4dcafe5afa3898.tar.gz
zig-f9963909a1cf73eaee47102f4e4dcafe5afa3898.zip
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.
Diffstat (limited to 'src-self-hosted/link/MachO.zig')
0 files changed, 0 insertions, 0 deletions