Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all unused js optimizer passes #12414

Merged
merged 1 commit into from
Oct 5, 2020
Merged

Remove all unused js optimizer passes #12414

merged 1 commit into from
Oct 5, 2020

Conversation

kripken
Copy link
Member

@kripken kripken commented Oct 2, 2020

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.

@kripken kripken requested a review from sbc100 October 2, 2020 21:13
Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So is SAFE_HEAP not working right now? Under what circumstances?

@kripken
Copy link
Member Author

kripken commented Oct 5, 2020

Atm SAFE_HEAP instruments the compiled code and most library code, but not user JS code.

@kripken kripken merged commit f4cf8bb into master Oct 5, 2020
@kripken kripken deleted the unused branch October 5, 2020 21:00
sbc100 added a commit to sbc100/emscripten that referenced this pull request Jun 26, 2024
I believe the usage of these files was removed in emscripten-core#12414.
sbc100 added a commit that referenced this pull request Jun 26, 2024
I believe the usage of these files was removed in #12414.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants