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/stxr_8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/stxr_8.c') diff --git a/tests/stxr_8.c b/tests/stxr_8.c index 6e2e557..088b73e 100644 --- a/tests/stxr_8.c +++ b/tests/stxr_8.c @@ -18,7 +18,7 @@ int main(int argc, char *argv[]) ejit_stxr_8(f, EJIT_GPR(2), EJIT_GPR(0), EJIT_GPR(1)); ejit_ret(f); - ejit_select_compile_func(f, 3, 0, EJIT_USE64(void *), do_jit); + ejit_select_compile_func(f, 3, 0, EJIT_USE64(void *), do_jit, true); assert(data[0] == 0x12); assert(data[1] == 0x00); -- cgit v1.2.3