code wiki / (root) / _offc_out_i64.nx

_offc_out_i64.nx

buildroot/runtime/_offc_out_i64.nx

724 B31 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic offc
docsdependenciesstructsconstsfunctions

about

Reduced repro of T#selfhost-001. Same shape as outbuf.nx::out_i64: pointer-typed local, if-then early-return, two while loops doing REM/DIV. Compiles with stage 1; nxc.elf hangs/SIGSEGVs.

dependencies 1 imports · 0 importers

syscalls.nx _offc_out_i64.nx

imports: syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main out_i64

structs

none

consts

none

functions

6func out_i64(n: i64) -> i64 {
called by 1: main
29func main() -> i64 {
calls 1: out_i64