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/addi.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/addi.c')
-rw-r--r-- | tests/addi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |