Adapt ancillary analyses to record patterns

This commit is contained in:
Chris Smowton
2023-11-01 18:21:11 +00:00
parent daccd04087
commit 936c0206ea
4 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ private predicate step(Node n1, Node n2) {
)
or
exists(PatternCase pc |
pc.getPattern() = def.(BaseSsaUpdate).getDefiningExpr() and
pc.getPattern().asBindingPattern() = def.(BaseSsaUpdate).getDefiningExpr() and
(
pc.getSwitch().getExpr() = n1.asExpr()
or