Skip to content

Add C-/JS-APIs for inlining limits #2655

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 2 commits into from
Feb 13, 2020

Conversation

dcodeIO
Copy link
Contributor

@dcodeIO dcodeIO commented Feb 11, 2020

Allows a user to modify the inlining limits using the C- and JS-APIs.

  • binaryen.getAlwaysInlineMaxSize(): number
  • binaryen.setAlwaysInlineMaxSize(size: number): void
  • binaryen.getFlexibleInlineMaxSize(): number
  • binaryen.setFlexibleInlineMaxSize(size: number): void
  • binaryen.getOneCallerInlineMaxSize(): number
  • binaryen.setOneCallerInlineMaxSize(size: number): void

@aheejin aheejin merged commit 32bb67f into WebAssembly:master Feb 13, 2020
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