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

feat!: Add Passes module & require Passes.t in Module.run_passes #145

Merged
merged 2 commits into from
Mar 16, 2022

Conversation

phated
Copy link
Member

@phated phated commented Mar 16, 2022

This introduces a new module Passes that contains all binaryen passes for v105 and changes the API of Module.run_passes to take the opaque type Passes.t

This will give us a nicer API for experimenting with different optimization strategies.

@phated phated requested a review from ospencer March 16, 2022 02:55
Copy link
Member

@ospencer ospencer left a comment

Choose a reason for hiding this comment

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

Very nice!

@phated phated merged commit c3e751c into master Mar 16, 2022
@phated phated deleted the phated/run-passes branch March 16, 2022 16:27
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