C#: Fix bug in BaseSSA::reachesEndOf/3

This commit is contained in:
Tom Hvitved
2021-02-23 14:05:07 +01:00
parent 6213c20bc3
commit d8792f2f7f

View File

@@ -101,7 +101,7 @@ module BaseSsa {
or
exists(BasicBlock mid |
reachesEndOf(def, v, mid) and
not exists(ssaRefRank(mid, _, v, SsaDef())) and
not exists(ssaRefRank(bb, _, v, SsaDef())) and
bb = mid.getASuccessor()
)
}