From f5c729ea59d227a507f83bd94d07f4366b46d72b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 14 Mar 2025 21:08:01 +0200 Subject: start supporting 32bit arches --- tests/escapei_10.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/escapei_10.c') diff --git a/tests/escapei_10.c b/tests/escapei_10.c index 3ee1984..4b7673e 100644 --- a/tests/escapei_10.c +++ b/tests/escapei_10.c @@ -70,14 +70,14 @@ int main(int argc, char *argv[]) EJIT_OPERAND_GPR( 9, EJIT_INT32), EJIT_OPERAND_GPR(10, EJIT_INT32), }; - ejit_escapei(f, escape_func, 10, args); + ejit_escapei_i(f, escape_func, 10, args); ejit_retval(f, EJIT_GPR(0)); ejit_retr(f, EJIT_GPR(0)); ejit_select_compile_func(f, 11, 0, false, do_jit); int32_t iargs[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; - assert(ejit_run_func_1(f, EJIT_ARG(iargs, void *)) == 42); + assert(erfi1(f, EJIT_ARG(iargs, void *)) == 42); ejit_destroy_func(f); } -- cgit v1.2.3