Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
fix
Commits
de93d205
Commit
de93d205
authored
Nov 25, 2021
by
POTTIER Francois
Browse files
DataFlow: remove a redundant call to [CompactQueue.is_empty].
parent
fd743881
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/DataFlow.ml
View file @
de93d205
...
...
@@ -206,9 +206,13 @@ module ForCustomMaps
(* As long as the queue is nonempty, take a variable and examine it. *)
let
()
=
while
not
(
CompactQueue
.
is_empty
pending
)
do
let
var
=
CompactQueue
.
take
pending
in
B
.
set
var
false
;
examine
var
done
try
while
true
do
let
x
=
CompactQueue
.
take
pending
in
B
.
set
x
false
;
examine
x
done
with
CompactQueue
.
Empty
->
()
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment