aboutsummaryrefslogtreecommitdiff
path: root/tests/bmsi.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-03-14 21:08:01 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-03-14 21:08:01 +0200
commitf5c729ea59d227a507f83bd94d07f4366b46d72b (patch)
tree70d1f242100cea09acd38a71ff8c821836117cfd /tests/bmsi.c
parent57f6b41047e95374701ee276248f0f8615168450 (diff)
downloadejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.tar.gz
ejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.zip
start supporting 32bit arches
Diffstat (limited to 'tests/bmsi.c')
-rw-r--r--tests/bmsi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/bmsi.c b/tests/bmsi.c
index 1ed54b4..92ae0e8 100644
--- a/tests/bmsi.c
+++ b/tests/bmsi.c
@@ -20,10 +20,10 @@ 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( 0, long)) == 0);
- assert(ejit_run_func_1(f, EJIT_ARG( 1, long)) == 1);
- assert(ejit_run_func_1(f, EJIT_ARG(-1, long)) == 1);
- assert(ejit_run_func_1(f, EJIT_ARG( 2, long)) == 0);
+ assert(erfi1(f, EJIT_ARG( 0, long)) == 0);
+ assert(erfi1(f, EJIT_ARG( 1, long)) == 1);
+ assert(erfi1(f, EJIT_ARG(-1, long)) == 1);
+ assert(erfi1(f, EJIT_ARG( 2, long)) == 0);
ejit_destroy_func(f);
}