JIT: add missing check on inlined `procedure-arity-includes?'
Closes PR 13951
This commit is contained in:
parent
983188e07d
commit
9068341cb9
|
@ -846,7 +846,7 @@
|
|||
(lambda () v) 0 "other"
|
||||
(lambda () (test 77 unbox v))))
|
||||
|
||||
(bin-exact #t 'procedure-arity-includes? cons 2)
|
||||
(bin-exact #t 'procedure-arity-includes? cons 2 #t)
|
||||
(bin-exact #f 'procedure-arity-includes? cons 1)
|
||||
(bin-exact #f 'procedure-arity-includes? cons 3)
|
||||
(bin-exact #t 'procedure-arity-includes? car 1)
|
||||
|
|
|
@ -2950,6 +2950,8 @@ static int common10(mz_jit_state *jitter, void *_data)
|
|||
mz_patch_branch(ref);
|
||||
(void)jit_blti_l(refslow, JIT_R1, 0);
|
||||
|
||||
(void)jit_bmsi_l(refslow, JIT_R0, 0x1);
|
||||
|
||||
jit_ldxi_s(JIT_R2, JIT_R0, &((Scheme_Object *)0x0)->type);
|
||||
ref_nc = jit_beqi_i(jit_forward(), JIT_R2, scheme_native_closure_type);
|
||||
ref_prim = jit_beqi_i(jit_forward(), JIT_R2, scheme_prim_type);
|
||||
|
|
Loading…
Reference in New Issue
Block a user