diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-04-24 20:37:36 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-04-24 20:37:36 +0300 |
commit | 15310fc90dc6ab2ba52603027eebe8aa5a606a27 (patch) | |
tree | ad7606ede5d486a841d2b70498c1393134716380 /tests/blti_u.c | |
parent | d9e7718b03596c9af89411a8991f5a1da7b4ad5f (diff) | |
download | ejit-15310fc90dc6ab2ba52603027eebe8aa5a606a27.tar.gz ejit-15310fc90dc6ab2ba52603027eebe8aa5a606a27.zip |
Diffstat (limited to 'tests/blti_u.c')
-rw-r--r-- | tests/blti_u.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/blti_u.c b/tests/blti_u.c index 3e4ed27..52d3b2c 100644 --- a/tests/blti_u.c +++ b/tests/blti_u.c @@ -11,7 +11,7 @@ int main(int argc, char *argv[]) }; struct ejit_func *f = ejit_create_func(EJIT_TYPE(long), 1, operands); - struct ejit_reloc r = ejit_blti_u(f, EJIT_GPR(0), 0); + struct ejit_reloc r = ejit_blti_u(f, EJIT_GPR(0), 1); ejit_reti(f, 0); struct ejit_label l = ejit_label(f); @@ -21,7 +21,7 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 1, 0, EJIT_USE64(long), do_jit, true); - assert(erfi1(f, EJIT_ARG( 0, long)) == 0); + assert(erfi1(f, EJIT_ARG( 0, long)) == 1); assert(erfi1(f, EJIT_ARG( 1, long)) == 0); assert(erfi1(f, EJIT_ARG(-1, long)) == 0); |