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/addi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/addi.c') diff --git a/tests/addi.c b/tests/addi.c index e0471d6..c3c84ce 100644 --- a/tests/addi.c +++ b/tests/addi.c @@ -10,7 +10,7 @@ int main() struct ejit_func *f = ejit_create_func(EJIT_TYPE(int), 1, operands); ejit_addi(f, EJIT_GPR(0), EJIT_GPR(0), 69); ejit_retr(f, EJIT_GPR(0)); - ejit_select_compile_func(f, 1, 0, do_jit); + ejit_select_compile_func(f, 1, 0, EJIT_USE64(int), do_jit); assert(ejit_run_func_1(f, EJIT_ARG(42, int)) == 111); ejit_destroy_func(f); -- cgit v1.2.3