diff options
author | Alon Zakai <azakai@google.com> | 2020-09-11 09:09:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 09:09:15 -0700 |
commit | dbff242b3bc1fdaec15140cc48a537d7a497fb48 (patch) | |
tree | 74a6913ddd2d4e8676a839c2b1d8179b14fc4637 /test/binaryen.js/exception-handling.js.txt | |
parent | 95c0b44f88e733307c0cc3fd2f5efcff579d95b4 (diff) | |
download | binaryen-dbff242b3bc1fdaec15140cc48a537d7a497fb48.tar.gz binaryen-dbff242b3bc1fdaec15140cc48a537d7a497fb48.tar.bz2 binaryen-dbff242b3bc1fdaec15140cc48a537d7a497fb48.zip |
Stop renaming longjmp in wasm-emscripten-finalize (#3111)
Instead of finalize renaming emscripten_longjmp_jmpbuf to emscripten_longjmp,
do nothing in finalize. But in the optional --post-emscripten pass, rename it there if
both exist, so that we don't end up using two imports (other optimization passes
can then remove an unneeded import).
Depends on emscripten-core/emscripten#12157 to land first so that emscripten
can handle both names, and it is just an optimization to have one or the other.
See https://github.com/WebAssembly/binaryen/issues/3043
Diffstat (limited to 'test/binaryen.js/exception-handling.js.txt')
0 files changed, 0 insertions, 0 deletions