Expand description
Generic Builtin FFI Trampoline
A single FFI function that can execute ANY builtin function, eliminating the need for individual FFI wrappers for each of the ~170 builtins.
Uses the same static trampoline pattern as async_ops: the VM registers a
dispatch function before JIT execution, and the JIT calls it via
jit_generic_builtin.
Statics§
- GENERIC_
BUILTIN_ FN - Static trampoline function pointer for generic builtin dispatch.
Functions§
- jit_
generic_ builtin - Execute any builtin function via the registered trampoline.
- register_
generic_ ⚠builtin_ fn - Register the generic builtin dispatch trampoline.
- unregister_
generic_ builtin_ fn - Clear the generic builtin dispatch registration.