diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-14 21:08:01 +0200 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-14 21:08:01 +0200 |
commit | f5c729ea59d227a507f83bd94d07f4366b46d72b (patch) | |
tree | 70d1f242100cea09acd38a71ff8c821836117cfd /tests/escapei_10.c | |
parent | 57f6b41047e95374701ee276248f0f8615168450 (diff) | |
download | ejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.tar.gz ejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.zip |
start supporting 32bit arches
Diffstat (limited to 'tests/escapei_10.c')
-rw-r--r-- | tests/escapei_10.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |