Skip to content

Build Accumulator to collect multiple contiguous statements into one Block in the Control flow graph - #116

Open
vishnu-m77 wants to merge 6 commits into
v1.0from
control_flow_graph
Open

Build Accumulator to collect multiple contiguous statements into one Block in the Control flow graph#116
vishnu-m77 wants to merge 6 commits into
v1.0from
control_flow_graph

Conversation

@vishnu-m77

Copy link
Copy Markdown
Collaborator
  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Feature

  • What is the current behavior? (You can also link to an open issue here)
    Each statement line in the code is stored in a new Block in the Control Flow Graph.

  • What is the new behavior (if this is a feature change)?
    The new behavior is that contiguous statements are adsorbed into one block in the Control Flow Graph.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    Yes, Blocks do not have a kind parameter. Block.stmt is now Block.stmts as they can hold multiple statements.

  • Other information:
    N/A

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.

1 participant