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

Introduce IR for analysis #76

Open
axic opened this issue Jan 21, 2019 · 1 comment
Open

Introduce IR for analysis #76

axic opened this issue Jan 21, 2019 · 1 comment

Comments

@axic
Copy link
Member

axic commented Jan 21, 2019

Or at least helpers with some data structures.

A good start would be doing a CFG (control flow graph) or at least a primitive version which shows dependencies of functions.

This can be used in two ways in the short term:

  • finding unused functions
  • in "atomic metering" to find the leaf nodes to start metering on
@axic
Copy link
Member Author

axic commented Jul 25, 2019

Could consider using https://github.com/rustwasm/walrus because it has the same goals.

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

No branches or pull requests

1 participant