@@ -41,10 +41,10 @@ let domains: (module Lattice.S) list = [
4141
4242let nonAssocDomains: (module Lattice. S ) list = []
4343
44- let intDomains: (module IntDomainProperties. S ) list = [
44+ let intDomains: (module IntDomainProperties. S2 ) list = [
4545 (module IntDomain. SOverflowUnlifter (IntDomain. Interval ));
46- (module IntDomain. Enums );
47- (module IntDomain. Congruence );
46+ (module IntDomainProperties. MakeS2 ( IntDomain. Enums ) );
47+ (module IntDomainProperties. MakeS2 ( IntDomain. Congruence ) );
4848 (module IntDomain. SOverflowUnlifter (IntDomain. IntervalSet ));
4949 (module IntDomain. SOverflowUnlifter (IntDomain. Bitfield ));
5050 (* (module IntDomain.Flattened); *)
@@ -53,8 +53,8 @@ let intDomains: (module IntDomainProperties.S) list = [
5353 (* (module IntDomain.IntDomTuple); *)
5454]
5555
56- let nonAssocIntDomains: (module IntDomainProperties. S ) list = [
57- (module IntDomain. DefExc );
56+ let nonAssocIntDomains: (module IntDomainProperties. S2 ) list = [
57+ (module IntDomainProperties. MakeS2 ( IntDomain. DefExc ) );
5858]
5959
6060(* TODO: make arbitrary ikind part of domain test for better efficiency *)
@@ -91,7 +91,7 @@ let nonAssocTestsuite =
9191let old_intdomains intDomains =
9292 BatList. cartesian_product intDomains ikinds
9393 |> List. map (fun (d , ik ) ->
94- let module D = (val d : IntDomainProperties .S ) in
94+ let module D = (val d : IntDomainProperties .S2 ) in
9595 let module Ikind = struct let ikind () = ik end in
9696 (module IntDomainProperties. WithIkind (D ) (Ikind ): IntDomainProperties. OldSWithIkind )
9797 )
0 commit comments