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

Add support to trap removal #1052

Merged
merged 17 commits into from
Oct 12, 2024
Merged

Conversation

michaelyoukeim
Copy link
Collaborator

  • Added a removeTrap method to StmtGraph
  • Implemented removeTrap in MutableBlockStmtGraph

@michaelyoukeim michaelyoukeim self-assigned this Sep 3, 2024
@michaelyoukeim michaelyoukeim linked an issue Sep 3, 2024 that may be closed by this pull request
@@ -1625,4 +1625,20 @@ public List<Trap> buildTraps() {
traps.sort(getTrapComparator(stmtsBlockIdx));
return traps;
}

@Override
public void removeExceptionalFlowFromAllBlocks(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swissiety As discussed, I replaced the removeTrap method with this.

@stschott stschott marked this pull request as ready for review October 12, 2024 02:29
@stschott stschott merged commit a43bb48 into develop Oct 12, 2024
7 checks passed
@stschott stschott deleted the feature/1010-add-support-to-trap-removal branch October 12, 2024 17:25
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.

[Feature]: Add support to trap removal
3 participants