regalloc.nx
buildroot/runtime/regalloc.nx
about
regalloc.nx -- alias stub.
The original regalloc.nx was renamed to nx_regalloc.nx in commit
8302d014 (Poletto-Sarkar spillAtInterval eviction). Some consumers
were updated (regalloc_test.nx) but others were not (nxc.nx,
main.nx, smoke_nxc_pipeline*, etc.). This stub keeps the older
import path resolvable so the bootstrap chain stays intact.
Mechanism: NishiLang import resolution splices file text inline +
dedupes by canonicalised path (see import.nx invariants I1/I3).
So `import "regalloc.nx"` -> reads this file -> sees the next line
-> reads nx_regalloc.nx -> splices its content. Consumers see
every symbol nx_regalloc.nx exports, transparently.
This is the four-pillar REPAIR + the S-class movability affordance
for the "rename without consumer update" bug class. Pair with
bench/nx_import_closure.sh (PREVENT layer) so future moves either
leave stubs or fail the audit.
Deprecation: when every consumer of "regalloc.nx" has been updated
to "nx_regalloc.nx", delete this stub. The closure check will
catch any straggler.
dependencies 1 imports · 20 importers
diagram shows first 10 each side; +0 more imports, +10 more importers in the complete lists below.
imports: nx_regalloc.nx
imported by: _offc_nxc_small.nxmain.nxnxc.nxriscv_fp_test.nxrvv_regname_test.nxsmoke_nxc_pipeline.nxsmoke_nxc_pipeline10.nxsmoke_nxc_pipeline13.nxsmoke_nxc_pipeline15.nxsmoke_nxc_pipeline2.nxsmoke_nxc_pipeline7.nxsmoke_nxc_pipeline8.nxsmoke_nxc_pipeline9.nxsmoke_regalloc_min.nxsmoke_regalloc_min2.nxsmoke_regalloc_min3.nxsmoke_regalloc_min4.nxsmoke_regalloc_min5.nxsmoke_regalloc_min6.nxsmoke_regalloc_step.nx
structs
| none |
consts
| none |
functions
| none |