Skip to content

Commit 3534872

Browse files
committed
Java: Add change note.
1 parent a65045c commit 3534872

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
category: breaking
3+
---
4+
* The Java control flow graph (CFG) implementation has been completely
5+
rewritten. The CFG now includes additional nodes to more accurately represent
6+
certain constructs. This also means that any existing code that implicitly
7+
relies on very specific details about the CFG may need to be updated.
8+
The CFG now only includes the nodes that are reachable from the entry point.
9+
Additionally, the following breaking changes have been made:
10+
- `ControlFlowNode.asCall` has been removed - use `Call.getControlFlowNode` instead.
11+
- `ControlFlowNode.getEnclosingStmt` has been removed.
12+
- `ControlFlow::ExprNode` has been removed.
13+
- `ControlFlow::StmtNode` has been removed.
14+
- `ControlFlow::Node` has been removed - this was merely an alias of
15+
`ControlFlowNode`, which is still available.
16+
- Previously deprecated predicates on `BasicBlock` have been removed.

0 commit comments

Comments
 (0)