mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
lang: refactor anticipating io_forget_history
This commit is contained in:
1 parent
c21cc95713
commit
e8af2d0635
5 files changed
+60
-44
No files matched your search
@@ -331,11 +331,13 @@ func (h *livenessHelper) doIOManip(r livenesses, n *a.IOManip, depth uint32) err
|
||||
if err := h.doExpr(r, n.IO()); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := h.doExpr(r, n.Arg1()); err != nil {
|
||||
return err
|
||||
if arg1 := n.Arg1(); arg1 != nil {
|
||||
if err := h.doExpr(r, arg1); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
if histPos := n.HistoryPosition(); histPos != nil {
|
||||
if err := h.doExpr(r, n.HistoryPosition()); err != nil {
|
||||
if err := h.doExpr(r, histPos); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user