From 2a2d096b61262c2059ea022379869b9c4a70eafa Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 14 Mar 2025 22:33:57 +0200 Subject: protect jit pages --- tests/stxi_16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/stxi_16.c') 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); -- cgit v1.2.3