Skip to content

Commit 0a27a8c

Browse files
committed
Java: Assume normal termination in post-dominance.
1 parent 5ca9c09 commit 0a27a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/controlflow/BasicBlocks.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private module Input implements BB::InputSig<Location> {
5757
* Holds if `node` represents an exit node to be used when calculating
5858
* post dominance.
5959
*/
60-
predicate nodeIsPostDominanceExit(Node node) { node instanceof ControlFlow::ExitNode }
60+
predicate nodeIsPostDominanceExit(Node node) { node instanceof ControlFlow::NormalExitNode }
6161
}
6262

6363
private module BbImpl = BB::Make<Location, Input>;

0 commit comments

Comments
 (0)