Skip to content

Commit

Permalink
Improve names of some global constraint variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Oct 20, 2023
1 parent 53858f2 commit 32be7d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/commonPriv.ml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct
module V =
struct
(* TODO: Either3? *)
include Printable.Either (Printable.Either (VMutex) (VMutexInits)) (VGlobal)
include Printable.Either (struct include Printable.Either (VMutex) (VMutexInits) let name () = "mutex" end) (VGlobal)
let name () = "MutexGlobals"
let mutex x: t = `Left (`Left x)
let mutex_inits: t = `Left (`Right ())
Expand Down
1 change: 1 addition & 0 deletions src/framework/constraints.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1467,6 +1467,7 @@ struct
module V =
struct
include Printable.Either (S.V) (Printable.Either (Printable.Prod (Node) (C)) (Printable.Prod (CilType.Fundec) (C)))
let name () = "longjmp"
let s x = `Left x
let longjmpto x = `Right (`Left x)
let longjmpret x = `Right (`Right x)
Expand Down

0 comments on commit 32be7d5

Please sign in to comment.