Inline predicate only used once

This commit is contained in:
Owen Mansel-Chan
2025-09-11 22:02:06 +01:00
parent 05a16dc100
commit 89ae0e3bf3

View File

@@ -844,13 +844,11 @@ module Public {
insn = getAWrittenInsn()
}
predicate hasPostUpdateNode(Node preupd) { insnHasPostUpdateNode(preupd.asInstruction()) }
private class DefaultPostUpdateNode extends PostUpdateNode {
Node preupd;
DefaultPostUpdateNode() {
hasPostUpdateNode(preupd) and
insnHasPostUpdateNode(preupd.asInstruction()) and
(
preupd = this.(SsaNode).getAUse()
or