aboutsummaryrefslogtreecommitdiff
path: root/src/DepTokenizer.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-05-22 19:07:16 +0200
committerLuuk de Gram <luuk@degram.dev>2022-06-24 08:12:17 +0200
commit4d3715d89f97f3f9b6e366bbabe01f9d64ed56cf (patch)
tree593ec4b37a1c8f1e1a626076144aa310f7083aa4 /src/DepTokenizer.zig
parent8d03e4fc6b361e6cf96865acc05820556ae33863 (diff)
downloadzig-4d3715d89f97f3f9b6e366bbabe01f9d64ed56cf.tar.gz
zig-4d3715d89f97f3f9b6e366bbabe01f9d64ed56cf.zip
wasm-linker: de-duplicate functions+atom sorting
Multiple symbols can point to the same function, this means that when we loop over the symbol list, we must deduplicate those functions being added twice. Additionaly, we must also ensure that when we append a new type and set the type index on a function, we must not do this again for the same function. This commit also implements sorting of code atoms to ensure their order matches the order of the function section to ensure the function signature matches that of the function body.
Diffstat (limited to 'src/DepTokenizer.zig')
0 files changed, 0 insertions, 0 deletions