CFG: Mark redo edges out of for loops

This commit is contained in:
Tom Hvitved
2020-12-07 17:18:18 +01:00
parent b6ea5c5eab
commit 31b8d33a7c
2 changed files with 4 additions and 4 deletions

View File

@@ -1327,9 +1327,9 @@ module Trees {
first(this.getConditionNode(), succ) and
c.continuesLoop()
or
last(this.getBodyNode(), pred, any(RedoCompletion rc)) and
last(this.getBodyNode(), pred, c) and
first(this.getBodyNode(), succ) and
c instanceof SimpleCompletion
c instanceof RedoCompletion
}
}
}