def in.incdec.op

bend-osdev-acpi@0.1.1.0 · aml_interp.bend:1109

import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import Base
import bend-osdev-word64@0.1.1.0/word64.bend as W

1109def in.incdec.op(inc: Bool, +x: W.W64) -> W.W64:
1110  match inc:
1111    case True{}:
1112      W.W64.add(x, W.W64.one())
1113    case False{}:
1114      W.W64.sub(x, W.W64.one())

Uses (5)

Used by (1)