Skip to content

Commit b74533a

Browse files
committed
boundscheck to inbounds in comprehension lowering.
1 parent 03a4e51 commit b74533a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/julia-syntax.scm

+2-2
Original file line numberDiff line numberDiff line change
@@ -1878,9 +1878,9 @@
18781878
(if (null? ranges)
18791879
`(block (= ,oneresult ,expr)
18801880
,@(if atype '() `((type_goto ,initlabl ,oneresult)))
1881-
(boundscheck false)
1881+
(inbounds false)
18821882
(call (top setindex!) ,result ,oneresult ,ri)
1883-
(boundscheck pop)
1883+
(inbounds pop)
18841884
(= ,ri (call (top +) ,ri 1)))
18851885
`(block
18861886
(= ,(car states) (call (top start) ,(car rv)))

0 commit comments

Comments
 (0)