def in.skip.else

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

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

2780# after an If body: an Else that follows is skipped
2781def in.skip.else(-H: Data, m: Maybe<&2, U32>, +after: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2782  match m:
2783    case Some{+b}:
2784      in.skip.else.pick(H, U32.is_eq(b, 161), after, fs, w)
2785    case None{}:
2786      AmlMachine{AmlMExec{}, after, fs, w}

Uses (10)

Used by (1)