Java: Replace getAFirstUse with top-level predicate.

This commit is contained in:
Anders Schack-Mulligen
2025-11-07 09:11:25 +01:00
parent 99aa0333cf
commit 07e635636c
7 changed files with 19 additions and 9 deletions

View File

@@ -279,7 +279,7 @@ private module SinkModelGeneratorInput implements SinkModelGeneratorInputSig {
// exclude variable capture jump steps
exists(Ssa::SsaImplicitInit closure |
closure.captures(_) and
node.asExpr() = closure.getAFirstUse()
node.asExpr() = Ssa::ssaGetAFirstUse(closure)
)
}