Java/SSA: Keep proper distinction between cached stages.

This commit is contained in:
Anders Schack-Mulligen
2025-03-25 13:43:55 +01:00
parent 4d04391b70
commit d5d0274ce7
7 changed files with 18 additions and 8 deletions

View File

@@ -680,6 +680,11 @@ private module DataFlowIntegrationInput implements Impl::DataFlowIntegrationInpu
}
}
/** Holds if the guard `guard` directly controls block `bb` upon evaluating to `branch`. */
predicate guardDirectlyControlsBlock(Guard guard, BasicBlock bb, boolean branch) {
guard.directlyControls(bb, branch)
}
/** Holds if the guard `guard` controls block `bb` upon evaluating to `branch`. */
predicate guardControlsBlock(Guard guard, BasicBlock bb, boolean branch) {
guard.controls(bb, branch)