Skip to content

Commit

Permalink
Invert vector bound checking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
feeley committed Nov 13, 2023
1 parent 2015e0e commit 63bcb0a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gsc/_prims.scm
Expand Up @@ -4862,16 +4862,16 @@
(new-conj source env
fixnum-check
(new-conj source env
(gen-call-prim-notsafe source env
**fx<=-sym
(list lo
(new-ref source env
var)))
(gen-call-prim-notsafe source env
(if incl? **fx<=-sym **fx<-sym)
(list (new-ref source env
var)
hi))))))
hi))
(gen-call-prim-notsafe source env
**fx<=-sym
(list lo
(new-ref source env
var)))))))
interval-check))

(define (gen-fixnum-nonneg-check source env var)
Expand Down

0 comments on commit 63bcb0a

Please sign in to comment.