Skip to content

Commit f4cf8bb

Browse files
authored
Remove all unused js optimizer passes (#12414)
This removes some TODOs from wasm2js where we thought about running more of the old passes. I think that's not a good idea - they will not run as our wasm2js output gets less and less like asm.js anyhow. We'll need to write new acorn passes there, if we want to. This removes safeHeap which we should be running (see #12410 (comment)), but as it would be the only thing we use the js optimizer for from emcc.py, and that isn't a recent regression, remove that too and I'll rewrite it for acorn. See #11860
1 parent 6fb7ef4 commit f4cf8bb

File tree

66 files changed

+30
-25498
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+30
-25498
lines changed

tests/optimizer/asm-eliminator-test-output.js

Lines changed: 0 additions & 1043 deletions
This file was deleted.

tests/optimizer/asm-eliminator-test.js

Lines changed: 0 additions & 1314 deletions
This file was deleted.

tests/optimizer/asmLastOpts-output.js

Lines changed: 0 additions & 68 deletions
This file was deleted.

tests/optimizer/asmLastOpts.js

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)