summaryrefslogtreecommitdiff
path: root/src/wasm-linker.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-12-07 21:33:47 -0800
committerGitHub <noreply@github.com>2017-12-07 21:33:47 -0800
commit9c51f2b51ecc57dfad1478bbc6932ec2795b1374 (patch)
treeb0ded3086e10dd776fa20d8a4b45e2fb54b60a8e /src/wasm-linker.cpp
parent22f1ce86e48173e9e55a021350c1ec9ca046080f (diff)
downloadbinaryen-9c51f2b51ecc57dfad1478bbc6932ec2795b1374.tar.gz
binaryen-9c51f2b51ecc57dfad1478bbc6932ec2795b1374.tar.bz2
binaryen-9c51f2b51ecc57dfad1478bbc6932ec2795b1374.zip
metadce fixes (#1329)
* ignore missing imports (the wasm may have already had them optimized out) * handle segments that hold on to globals (root them, for now, as we can't remove segments) * run reorder-functions, as the optimal order may have changed after we dce * fix global, global init, and segment offset reachability * fix import rooting and processing - imports may be imported more than once
Diffstat (limited to 'src/wasm-linker.cpp')
0 files changed, 0 insertions, 0 deletions