From 2a2d096b61262c2059ea022379869b9c4a70eafa Mon Sep 17 00:00:00 2001
From: Kimplul <kimi.h.kuparinen@gmail.com>
Date: Fri, 14 Mar 2025 22:33:57 +0200
Subject: protect jit pages

---
 tests/rshi_u64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'tests/rshi_u64.c')

diff --git a/tests/rshi_u64.c b/tests/rshi_u64.c
index 43ba3ce..de803d2 100644
--- a/tests/rshi_u64.c
+++ b/tests/rshi_u64.c
@@ -14,7 +14,7 @@ int main(int argc, char *argv[])
 	ejit_rshi_u(f, EJIT_GPR(0), EJIT_GPR(0), 31);
 	ejit_retr(f, EJIT_GPR(0));
 
-	ejit_select_compile_func(f, 1, 0, EJIT_USE64(int64_t), do_jit);
+	ejit_select_compile_func(f, 1, 0, EJIT_USE64(int64_t), do_jit, true);
 
 	assert(erfl1(f, EJIT_ARG(0x80000000, int64_t)) == 1);
 	assert(erfl1(f, EJIT_ARG(0x8000000000000000, int64_t))
-- 
cgit v1.2.3