diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-14 22:33:57 +0200 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-14 23:17:04 +0200 |
commit | 2a2d096b61262c2059ea022379869b9c4a70eafa (patch) | |
tree | 42f0c6a53506f613f1441a9f206e756dbae3afa7 /tests/stxi_16.c | |
parent | f5c729ea59d227a507f83bd94d07f4366b46d72b (diff) | |
download | ejit-2a2d096b61262c2059ea022379869b9c4a70eafa.tar.gz ejit-2a2d096b61262c2059ea022379869b9c4a70eafa.zip |
protect jit pages
Diffstat (limited to 'tests/stxi_16.c')
-rw-r--r-- | tests/stxi_16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stxi_16.c b/tests/stxi_16.c index d836bbe..b2ab664 100644 --- a/tests/stxi_16.c +++ b/tests/stxi_16.c @@ -17,7 +17,7 @@ int main(int argc, char *argv[]) ejit_stxi_16(f, EJIT_GPR(1), EJIT_GPR(0), (uintptr_t)data); ejit_ret(f); - ejit_select_compile_func(f, 2, 0, EJIT_USE64(int) | EJIT_USE64(uintptr_t), do_jit); + ejit_select_compile_func(f, 2, 0, EJIT_USE64(int) | EJIT_USE64(uintptr_t), do_jit, true); assert(data[0] == 0x1212); assert(data[1] == 0); |