Skip to content

Commit

Permalink
[NewOptimizer] Fix bug in unionsplit
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno authored and StefanKarpinski committed May 10, 2018
1 parent 227de3d commit 89e992b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/compiler/ssair/inlining2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,9 @@ function next(s::SimpleCartesian, state)
any = false
for i = 1:length(s.ranges)
if state[i] < last(s.ranges[i])
for j = 1:(i-1)
state[j] = first(s.ranges[j])
end
state[i] += 1
any = true
break
Expand Down

0 comments on commit 89e992b

Please sign in to comment.