aboutsummaryrefslogtreecommitdiff
path: root/tests/stxr_32.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/stxr_32.c
parentf5c729ea59d227a507f83bd94d07f4366b46d72b (diff)
downloadejit-2a2d096b61262c2059ea022379869b9c4a70eafa.tar.gz
ejit-2a2d096b61262c2059ea022379869b9c4a70eafa.zip
protect jit pages
Diffstat (limited to 'tests/stxr_32.c')
-rw-r--r--tests/stxr_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stxr_32.c b/tests/stxr_32.c
index 28d8b67..24953dc 100644
--- a/tests/stxr_32.c
+++ b/tests/stxr_32.c
@@ -18,7 +18,7 @@ int main(int argc, char *argv[])
ejit_stxr_32(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] == 0x12121212);
assert(data[1] == 0x00);