From f5c729ea59d227a507f83bd94d07f4366b46d72b Mon Sep 17 00:00:00 2001
From: Kimplul <kimi.h.kuparinen@gmail.com>
Date: Fri, 14 Mar 2025 21:08:01 +0200
Subject: start supporting 32bit arches

---
 tests/andi.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'tests/andi.c')

diff --git a/tests/andi.c b/tests/andi.c
index a587aab..c8fa277 100644
--- a/tests/andi.c
+++ b/tests/andi.c
@@ -17,9 +17,9 @@ int main(int argc, char *argv[])
 
 	ejit_select_compile_func(f, 1, 0, EJIT_USE64(long), do_jit);
 
-	assert(ejit_run_func_1(f, EJIT_ARG(0x7fffffff, long)) == 1);
-	assert(ejit_run_func_1(f, EJIT_ARG(0x80000000, long)) == 0);
-	assert(ejit_run_func_1(f, EJIT_ARG(0x7fffffffffffffff, long)) == 1);
-	assert(ejit_run_func_1(f, EJIT_ARG(0x8000000000000000, long)) == 0);
+	assert(erfi1(f, EJIT_ARG(0x7fffffff, long)) == 1);
+	assert(erfi1(f, EJIT_ARG(0x80000000, long)) == 0);
+	assert(erfi1(f, EJIT_ARG(0x7fffffffffffffff, long)) == 1);
+	assert(erfi1(f, EJIT_ARG(0x8000000000000000, long)) == 0);
 	ejit_destroy_func(f);
 }
-- 
cgit v1.2.3