code wiki / _hdl_build / nx_js_jit_gate.nx
nx_js_jit_gate.nx
buildroot/runtime/_hdl_build/nx_js_jit_gate.nx
about
nx_js_jit_gate.nx -- P5 BASELINE JIT: prove it (A) is CORRECT vs the VM and the tree-walker on the
templatable subset, (B) DECLINES cleanly (jit_compile==0 -> VM) on everything outside the subset,
and (C) MEASURES the native speedup + class band on the SAME entry point (js_jit_disable A/B).
The 108/108 parity gate already proves JIT==tree end-to-end; this adds the three-way A/B/tree
agreement, the decline contract, and the ladder placement. expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_js_vm.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func jchk(src: *u8, label: *u8, pp: *i64, tp: *i64) -> i64 |
| 51 | func jdec(src: *u8, want: i64, label: *u8, pp: *i64, tp: *i64) -> i64 |
| 66 | func jt3(src: *u8, disabled: i64, outcell: *i64) -> i64 |
| 84 | func main(argc: i64, argv: *i64) -> i64 |