From d4c1d32e0aa21677e72c54ed220fdc70cea732c8 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 29 Jun 2024 14:49:30 +0300 Subject: add flag for using 64 bit values on 32 machines + JIT backends needs to still trigger an assertion if we detect that the user lied --- tests/addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/addr.c') diff --git a/tests/addr.c b/tests/addr.c index 099536a..472030f 100644 --- a/tests/addr.c +++ b/tests/addr.c @@ -15,7 +15,7 @@ main (int argc, char *argv[]) ejit_addr(f, EJIT_GPR(0), EJIT_GPR(0), EJIT_GPR(1)); ejit_retr(f, EJIT_GPR(0)); - ejit_select_compile_func(f, 2, 0, do_jit); + ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit); assert(ejit_run_func_2(f, EJIT_ARG(42, long), EJIT_ARG(69, long)) == 111); ejit_destroy_func(f); -- cgit v1.2.3