Skip to content

optimize asm2wasm helper functions like i32-div #1208

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

Merged
merged 1 commit into from
Oct 4, 2017

Conversation

kripken
Copy link
Member

@kripken kripken commented Oct 2, 2017

They previously were added while already optimizing, so they weren't in the list to get optimized.

See #1168 (comment)

…are consistently handled regardless of whether we optimize in parallel or not
@kripken kripken force-pushed the optimize-asm2wasm-helpers branch from 5115441 to 5268486 Compare October 4, 2017 22:18
@kripken
Copy link
Member Author

kripken commented Oct 4, 2017

Re-worked after the landing of #1168. This adds a small api to get the list of added helper trapping functions, and uses that to optimize them.

Copy link
Contributor

@jgravelle-google jgravelle-google left a comment

Choose a reason for hiding this comment

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

Nice, the API extensions to TrappingFunctionContainer and OptimizingIncrementalModuleBuilder lgtm

@kripken kripken merged commit fcbe7bf into master Oct 4, 2017
@kripken kripken deleted the optimize-asm2wasm-helpers branch October 4, 2017 23:45
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.

2 participants