aboutsummaryrefslogtreecommitdiff
path: root/tests/movi_d.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-03-14 22:33:57 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-03-14 23:17:04 +0200
commit2a2d096b61262c2059ea022379869b9c4a70eafa (patch)
tree42f0c6a53506f613f1441a9f206e756dbae3afa7 /tests/movi_d.c
parentf5c729ea59d227a507f83bd94d07f4366b46d72b (diff)
downloadejit-2a2d096b61262c2059ea022379869b9c4a70eafa.tar.gz
ejit-2a2d096b61262c2059ea022379869b9c4a70eafa.zip
protect jit pages
Diffstat (limited to 'tests/movi_d.c')
-rw-r--r--tests/movi_d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/movi_d.c b/tests/movi_d.c
index 7fa412d..c06ef74 100644
--- a/tests/movi_d.c
+++ b/tests/movi_d.c
@@ -9,7 +9,7 @@ int main(int argc, char *argv[])
struct ejit_func *f = ejit_create_func(EJIT_TYPE(double), 0, NULL);
ejit_movi_d(f, EJIT_FPR(0), 3.14159f);
ejit_retr_d(f, EJIT_FPR(0));
- ejit_select_compile_func(f, 0, 1, EJIT_USE64(double), do_jit);
+ ejit_select_compile_func(f, 0, 1, EJIT_USE64(double), do_jit, true);
assert(ejit_run_func_d(f, 0, NULL) == 3.14159f);
ejit_destroy_func(f);