Skip to content

Commit f85449f

Browse files
committed
Extract type MyARG.cfg_path
1 parent 32c0acd commit f85449f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/arg/myARG.ml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,18 +253,19 @@ struct
253253
end
254254
end
255255

256+
type cfg_path = (MyCFG.edge * MyCFG.node) list
256257

257258
module type SIntra =
258259
sig
259-
val next: MyCFG.node -> (MyCFG.edge * MyCFG.node * (MyCFG.edge * MyCFG.node) list) list
260-
(** @return Inner list is the original CFG path corresponding to the step. *) (* TODO: extract type *)
260+
val next: MyCFG.node -> (MyCFG.edge * MyCFG.node * cfg_path) list
261+
(** @return Also the original CFG path corresponding to the step. *)
261262
end
262263

263264
module type SIntraOpt =
264265
sig
265266
include SIntra
266-
val next_opt: MyCFG.node -> ((MyCFG.edge * MyCFG.node * (MyCFG.edge * MyCFG.node) list) list) option
267-
(** @return Inner list is the original CFG path corresponding to the step. *) (* TODO: extract type *)
267+
val next_opt: MyCFG.node -> ((MyCFG.edge * MyCFG.node * cfg_path) list) option
268+
(** @return Also the original CFG path corresponding to the step. *)
268269
end
269270

270271
module CfgIntra (Cfg:CfgForward): SIntraOpt =

0 commit comments

Comments
 (0)