summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-04-16 17:55:35 -0700
committerGitHub <noreply@github.com>2021-04-16 17:55:35 -0700
commitda4e17d827c444bbbcceb08d577c528020d4d959 (patch)
tree7b979220507d3d7273f3fb864da50eb5ca8f3db1 /src/passes/OptimizeInstructions.cpp
parent423cf0b890e44356fbfa80c5bdfd4032fcc1da01 (diff)
downloadbinaryen-da4e17d827c444bbbcceb08d577c528020d4d959.tar.gz
binaryen-da4e17d827c444bbbcceb08d577c528020d4d959.tar.bz2
binaryen-da4e17d827c444bbbcceb08d577c528020d4d959.zip
LegalizeJSInterface: Remove illegal imports once they are no longer used (#3815)
This prevents used imports which also happen to have duplicate names and therefore cannot be provided by wasm (JS is happen to fill these in with polymorphic JS functions). I noticed this when working on emscripten and directly hooking modules together. I was seeing failures, but not in release builds (because wasm-opt would mop these up in release builds).
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
0 files changed, 0 insertions, 0 deletions