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/ldxi_d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ldxi_d.c') diff --git a/tests/ldxi_d.c b/tests/ldxi_d.c index 99faa20..dd4be80 100644 --- a/tests/ldxi_d.c +++ b/tests/ldxi_d.c @@ -17,7 +17,7 @@ int main(int argc, char *argv[]) ejit_ldxi_d(f, EJIT_FPR(0), EJIT_GPR(0), (uintptr_t)data); ejit_retr_d(f, EJIT_FPR(0)); - ejit_select_compile_func(f, 1, 1, EJIT_USE64(long), do_jit); + ejit_select_compile_func(f, 1, 1, EJIT_USE64(long), do_jit, true); assert(erfd1(f, EJIT_ARG(sizeof(double) * 0, long)) == data[0]); assert(erfd1(f, EJIT_ARG(sizeof(double) * 1, long)) == data[1]); -- cgit v1.2.3