Skip to content

Commit 5e69c64

Browse files
committed
refactor
1 parent 5198a32 commit 5e69c64

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

compiler/lib/partial_cps_analysis.ml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,7 @@ let cps_needed ~info ~in_mutual_recursion ~rev_deps st x =
160160
true
161161
| Expr (Prim _ | Block _ | Constant _ | Field _ | Special _) | Phi _ -> false
162162

163-
module SCC = Strongly_connected_components.Make (struct
164-
type t = Var.t
165-
166-
module Set = Var.Set
167-
module Map = Var.Map
168-
end)
163+
module SCC = Strongly_connected_components.Make (Var)
169164

170165
let find_mutually_recursive_calls tail_deps =
171166
let scc = SCC.component_graph !tail_deps in

0 commit comments

Comments
 (0)