Expand description
Control Flow FFI Functions for JIT
Higher-order functions (fold, reduce, map, filter, forEach) and function call helpers for JIT-compiled code.
Functions§
- jit_
call_ foreign - jit_
call_ foreign_ dynamic - jit_
call_ foreign_ native - jit_
call_ foreign_ native_ 0 - jit_
call_ foreign_ native_ 1 - jit_
call_ foreign_ native_ 2 - jit_
call_ foreign_ native_ 3 - jit_
call_ foreign_ native_ 4 - jit_
call_ foreign_ native_ 5 - jit_
call_ foreign_ native_ 6 - jit_
call_ foreign_ native_ 7 - jit_
call_ foreign_ native_ 8 - jit_
call_ function - Call a function by function_id Stack reads args from ctx.stack before the call
- jit_
call_ value - Call a closure or function value Stack layout: [callee, arg1, …, argN, arg_count] Returns the result of the call
- jit_
control_ every - every(array, predicate) - true if all elements match predicate Stack layout: [array, predicate, arg_count=2]
- jit_
control_ filter - filter(array, predicate) - keep elements where predicate returns true Stack layout: [array, predicate, arg_count=2]
- jit_
control_ find - find(array, predicate) - find first element matching predicate Stack layout: [array, predicate, arg_count=2]
- jit_
control_ find_ index - findIndex(array, predicate) - find index of first element matching predicate Stack layout: [array, predicate, arg_count=2]
- jit_
control_ fold - fold(array, initial, fn) - left fold over array Stack layout: [array, fn, initial, arg_count=3]
- jit_
control_ foreach - forEach(array, fn, count) - execute fn for each element (side effects) Stack layout: [array, fn, count=2]
- jit_
control_ map - map(array, fn) - transform each element Stack layout: [array, fn, arg_count=2]
- jit_
control_ reduce - reduce(array, fn, initial) - reduce array to single value Stack layout: [array, fn, initial, arg_count=3]
- jit_
control_ some - some(array, predicate) - true if any element matches predicate Stack layout: [array, predicate, arg_count=2]
- jit_
vm_ ⚠fallback_ trampoline - Trampoline placeholder for mixed-table VM fallback paths.