aboutsummaryrefslogtreecommitdiff
path: root/tests/blti_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/blti_u.c')
-rw-r--r--tests/blti_u.c4
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);