-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17970 from owen-mc/java/lightweight-IR-layer
Java: IPA the CFG (second try)
- Loading branch information
Showing
108 changed files
with
611 additions
and
603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
java/ql/lib/change-notes/2024-11-14-control-flow-graph-lightweight-IR-layer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
category: breaking | ||
--- | ||
* The class `ControlFlowNode` (and by extension `BasicBlock`) is no longer | ||
directly equatable to `Expr` and `Stmt`. Any queries that have been | ||
exploiting these equalities, for example by using casts, will need minor | ||
updates in order to fix any compilation errors. Conversions can be inserted | ||
in either direction depending on what is most convenient. Available | ||
conversions include `Expr.getControlFlowNode()`, `Stmt.getControlFlowNode()`, | ||
`ControlFlowNode.asExpr()`, `ControlFlowNode.asStmt()`, and | ||
`ControlFlowNode.asCall()`. Exit nodes were until now modelled as a | ||
`ControlFlowNode` equal to its enclosing `Callable`; these are now instead | ||
modelled by the class `ControlFlow::ExitNode`. |
Oops, something went wrong.