mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Tweak liveness analysis for "while true" loops
This commit is contained in:
1 parent
84d0576419
commit
63d8564b3c
2 files changed
+1
-4
No files matched your search
@@ -439,7 +439,7 @@ func (h *livenessHelper) doWhile(r livenesses, n *a.While, depth uint32) error {
|
||||
|
||||
if err := h.doExpr(r, n.Condition()); err != nil {
|
||||
return err
|
||||
} else {
|
||||
} else if !n.IsWhileTrue() {
|
||||
l.changed = l.after.reconcile(r) || l.changed
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user