aboutsummaryrefslogtreecommitdiff
path: root/tests/andi.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/andi.c')
-rw-r--r--tests/andi.c8
1 files changed, 4 insertions, 4 deletions
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);
}