diff options
Diffstat (limited to 'tests/beqi.c')
-rw-r--r-- | tests/beqi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/beqi.c b/tests/beqi.c index d35b705..35b10a3 100644 --- a/tests/beqi.c +++ b/tests/beqi.c @@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { (void)argv; - bool do_jit = argc >= 1; + bool do_jit = argc > 1; struct ejit_operand operands[1] = { EJIT_OPERAND_GPR(0, EJIT_TYPE(long)) }; @@ -19,7 +19,7 @@ int main(int argc, char *argv[]) ejit_patch(f, r, l); ejit_reti(f, 1); - ejit_select_compile_func(f, 1, 0, EJIT_USE64(long), do_jit); + ejit_select_compile_func(f, 1, 0, EJIT_USE64(long), do_jit, true); assert(erfi1(f, EJIT_ARG( 0, long)) == 1); assert(erfi1(f, EJIT_ARG( 1, long)) == 0); |