diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-06-29 14:49:30 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-06-29 14:49:30 +0300 |
commit | d4c1d32e0aa21677e72c54ed220fdc70cea732c8 (patch) | |
tree | 651a3c29e3e56387e8a5d87c4d0e03251e649e89 /tests/addr.c | |
parent | eb09800cff9eec8ecbe756b193cab738d43897d2 (diff) | |
download | ejit-d4c1d32e0aa21677e72c54ed220fdc70cea732c8.tar.gz ejit-d4c1d32e0aa21677e72c54ed220fdc70cea732c8.zip |
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
Diffstat (limited to 'tests/addr.c')
-rw-r--r-- | tests/addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |