File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11(* * Mutex attribute type domain. *)
2+ open Goblint_parallel
23
34module MutexKind =
45struct
2122include Lattice. FlatConf (struct include Printable. DefaultConf let bot_name = " Uninitialized" let top_name = " Top" end ) (MutexKind )
2223
2324(* Needed because OS X is weird and assigns different constants than normal systems... :( *)
24- let recursive_int = lazy (
25+ let recursive_int = DomainsafeLazy. from_fun ( fun () ->
2526 let res = ref (Z. of_int 2 ) in (* Use OS X as the default, it doesn't have the enum *)
2627 GoblintCil. iterGlobals ! Cilfacade. current_file (function
2728 | GEnumTag (einfo , _ ) ->
@@ -39,7 +40,7 @@ let of_int z =
3940 if Z. equal z Z. zero then
4041 `Lifted MutexKind. NonRec
4142 else
42- let recursive_int = Lazy . force recursive_int in
43+ let recursive_int = DomainsafeLazy . force recursive_int in
4344 if Z. equal z recursive_int then
4445 `Lifted MutexKind. Recursive
4546 else
Original file line number Diff line number Diff line change 1313 goblint_library
1414 goblint_domain
1515 goblint_incremental
16+ goblint_parallel
1617 goblint-cil)
1718 (flags :standard -open Goblint_std -open Goblint_logs)
1819 (preprocess
You can’t perform that action at this time.
0 commit comments