Skip to content

version_60: No exit runtime pass (#1816)

Choose a tag to compare

@kripken kripken released this 14 Dec 00:22
0fd96e6
When emscripten knows that the runtime will not be exited, it can tell codegen to not emit atexit() calls (since those callbacks will never be run). This saves both code size and startup time. In asm2wasm the JSBackend does it directly. For the wasm backend, this pass does the same on the output wasm.