Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/omc/om2/s5/scrub-inl.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / omc / om2 / s5 / scrub-inl.om` 19 lines ยท 492 bytes Raw Blame History 1 note S5 scrub inside an inline function written before a global. pinshut is set when the body pass begins 2 note any fn, an inline one too, so the global takes no pin and its reads use MOVZ/MOVK; under omc `0d7f2f42` 3 note (no pinshut) the inline body, compiled at its call site after the global, restored the pin. Exit 0. 4 om2 5 fn clean to ulong inline 6 k = scrub 64 7 ret ulong k 8 end 9 global g ulong 5000 10 fn main to int 11 j = ulong 4999 12 put g j 5 13 k = clean 14 y = get g j 15 if ne y 5 16 ret 2 17 end 18 ret int k 19 end