Skip to content

Commit

Permalink
Remove all unused js optimizer passes (#12414)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kripken committed Oct 5, 2020
1 parent 6fb7ef4 commit f4cf8bb
Show file tree
Hide file tree
Showing 66 changed files with 30 additions and 25,498 deletions.
1,043 changes: 0 additions & 1,043 deletions tests/optimizer/asm-eliminator-test-output.js

This file was deleted.

1,314 changes: 0 additions & 1,314 deletions tests/optimizer/asm-eliminator-test.js

This file was deleted.

68 changes: 0 additions & 68 deletions tests/optimizer/asmLastOpts-output.js

This file was deleted.

115 changes: 0 additions & 115 deletions tests/optimizer/asmLastOpts.js

This file was deleted.

Loading

0 comments on commit f4cf8bb

Please sign in to comment.