aboutsummaryrefslogtreecommitdiff
path: root/tests/bmsi.c
diff options
context:
space:
mode:
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);
}