Added constraint generation after a branch is not taken in an IF
This commit is contained in:
parent
33d18f07c2
commit
84568cfbdd
|
@ -207,6 +207,8 @@ findConstraints graph startNode
|
|||
valFilt = filter (not . overlapsWithWritten) $
|
||||
nub $ nodeVal ++ (case e of
|
||||
ESeq (Just (n, Just True)) -> maybeToList (fmap ((,) n) $ nodeCond u)
|
||||
ESeq (Just (n, Just False)) -> maybeToList
|
||||
(fmap ((,) n . A.Monadic emptyMeta A.MonadicNot) (nodeCond u))
|
||||
_ -> [])
|
||||
removeOld = case e of
|
||||
ESeq (Just (n, Nothing)) -> filter ((/= n) . fst)
|
||||
|
|
Loading…
Reference in New Issue
Block a user