Merge pull request #20163 from aschackmull/java/postdom-normal

Java: Assume normal termination in post-dominance.
This commit is contained in:
Anders Schack-Mulligen
2025-08-05 14:01:04 +02:00
committed by GitHub
3 changed files with 13 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ private module Input implements BB::InputSig<Location> {
* Holds if `node` represents an exit node to be used when calculating
* post dominance.
*/
predicate nodeIsPostDominanceExit(Node node) { node instanceof ControlFlow::ExitNode }
predicate nodeIsPostDominanceExit(Node node) { node instanceof ControlFlow::NormalExitNode }
}
private module BbImpl = BB::Make<Location, Input>;