File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ blocks, to track functions across modules.
2525
2626open ! Stdlib
2727
28- let debug = Debug. find " flow2 "
28+ let debug = Debug. find " global-flow "
2929
3030let times = Debug. find " times"
3131
@@ -133,11 +133,9 @@ let rec arg_deps st ?ignore params args =
133133 | x :: params , y :: args ->
134134 (* This is to deal with the [else] clause of a conditional,
135135 where we know that the value of the tested variable is 0. *)
136- if not
137- (match ignore with
138- | Some y' -> Var. equal y y'
139- | _ -> false )
140- then add_assign_def st x y;
136+ (match ignore with
137+ | Some y' when Var. equal y y' -> ()
138+ | _ -> add_assign_def st x y);
141139 arg_deps st params args
142140 | _ -> ()
143141
@@ -566,7 +564,7 @@ let f p =
566564 Var.ISet. iter
567565 (fun x ->
568566 let s = Var.Tbl. get approximation x in
569- if true || not (Poly. ( = ) s Domain. bot)
567+ if not (Domain. equal s Domain. bot)
570568 then
571569 Format. eprintf
572570 " %a: %a@."
You can’t perform that action at this time.
0 commit comments