JIT: fix useless test for N-ary unsafe-fx+, etc.

Running tests on 32-bit ARM exposed the problem.

Relevant to #2773
This commit is contained in:
Matthew Flatt 2019-07-30 16:00:38 -06:00
parent 50aa964e78
commit 754109fa31

View File

@ -2271,7 +2271,7 @@ int scheme_generate_nary_arith(mz_jit_state *jitter, Scheme_App_Rec *app,
extract_nary_arg(JIT_R0, trigger_arg, jitter, app, alt_args, use_short);
CHECK_LIMIT();
if (unsafe_fl < 1) {
if ((unsafe_fl < 1) && (unsafe_fx < 1)) {
/* trigger argument a fixnum? */
reffx = jit_bmsi_ul(jit_forward(), JIT_R0, 0x1);
} else