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

Fix for issue #496 #500

Merged
merged 3 commits into from
Apr 22, 2017
Merged

Fix for issue #496 #500

merged 3 commits into from
Apr 22, 2017

Conversation

mihaibudiu
Copy link
Contributor

The fix requires running the inlining pass repeatedly until convergence.

This fix also reinstates the removal of controls and parsers which are instantiated but never invoked. The inlining pass used to remove instantiations of inlined controls, but this was wrong, since some instantiations may have been used for other purposes as well (e.g., as arguments to other instantiations).

Perhaps the choice whether to remove or not unused instantiations should be subject to a compiler flag.

There are several conversions of comments to Doxygen.

@ChrisDodd ChrisDodd merged commit a9beb5b into p4lang:master Apr 22, 2017
@mihaibudiu mihaibudiu deleted the issue496 branch May 9, 2017 15:30
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