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

Def-use analysis for parsers #77

Merged
merged 5 commits into from
Aug 26, 2016
Merged

Def-use analysis for parsers #77

merged 5 commits into from
Aug 26, 2016

Conversation

mihaibudiu
Copy link
Contributor

Several improvements:

  • removed "isv1" flag from most APIs; now it is part of the ReferenceMap
  • changed parsing rules for string literals
  • implemented def-use analysis for parsers
  • use def-use analysis in parsers to find uninitialized values
  • small changes:
    • added Literal abstract base class in IR,
    • renamed Type_Stack::baseType to elementType
    • moved ParserCallGraph to a separate file

@ChrisDodd ChrisDodd self-assigned this Aug 25, 2016
@ChrisDodd ChrisDodd merged commit db1bf4c into p4lang:master Aug 26, 2016
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