Phase 10_6b scheduler complete; 10_4 GC hooks + counting/strict tracing; 10_c minimal JIT path (i64/bool consts, binop/compare/return, hostcall opt-in); docs & examples; add Phase 10.7 roadmap (JIT branch wiring + minimal ABI).
This commit is contained in:
12
examples/jit_array_param_call.nyash
Normal file
12
examples/jit_array_param_call.nyash
Normal file
@ -0,0 +1,12 @@
|
||||
// Param-array JIT HostCall PoC
|
||||
box Utils {
|
||||
getArrayLength(arr) {
|
||||
return arr.length()
|
||||
}
|
||||
}
|
||||
|
||||
arr = new ArrayBox()
|
||||
arr.push(1)
|
||||
arr.push(2)
|
||||
u = new Utils()
|
||||
print(u.getArrayLength(arr))
|
||||
Reference in New Issue
Block a user