File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,13 @@ module M = Messages
1313 assignment and return and duplicated variables for remembering the value of variables at the beginning of a function. *)
1414module VarType = struct
1515 let equal_typ a b =
16- (* TODO: Structural equality on (possibly cyclic) data type typ may not terminate in incremental analysis. *)
17- (* Using Stdlib.(=) instead of Stdlib.compare will not terminate even in the non-incremental case. *)
18- Stdlib. compare a b = 0
16+ CilType.Typ. equal a b
1917
2018 let hash_typ x =
21- Hashtbl . hash x
19+ CilType.Typ . hash x
2220
2321 let compare_typ a b =
24- (* TODO: Structural compare on (possibly cyclic) data type typ may not terminate in incremental analysis. *)
25- Stdlib. compare a b
22+ CilType.Typ. compare a b
2623
2724 type t =
2825 | AssignAux of typ
You can’t perform that action at this time.
0 commit comments