From 754109fa31a98a090b3664ebe535d0073925d878 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 30 Jul 2019 16:00:38 -0600 Subject: [PATCH] JIT: fix useless test for N-ary `unsafe-fx+`, etc. Running tests on 32-bit ARM exposed the problem. Relevant to #2773 --- racket/src/racket/src/jitarith.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racket/src/racket/src/jitarith.c b/racket/src/racket/src/jitarith.c index b0b329e94b..79f1a372dc 100644 --- a/racket/src/racket/src/jitarith.c +++ b/racket/src/racket/src/jitarith.c @@ -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