1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-03 19:38:04 +00:00

Add ffi/jitfn for JIT compilation.

Convert a byte sequence of machine code to an
an executable pointer that can be used with ffi/call.
This commit is contained in:
Calvin Rose
2022-12-03 11:26:23 -06:00
parent 0824f45e29
commit 7a3d055012
5 changed files with 107 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ option('epoll', type : 'boolean', value : false)
option('kqueue', type : 'boolean', value : false)
option('interpreter_interrupt', type : 'boolean', value : false)
option('ffi', type : 'boolean', value : true)
option('ffi_jit', type : 'boolean', value : true)
option('recursion_guard', type : 'integer', min : 10, max : 8000, value : 1024)
option('max_proto_depth', type : 'integer', min : 10, max : 8000, value : 200)