Skip to content

Commit 430f1ad

Browse files
Pull out alias for Queroes, use consistently
1 parent 8fdc8a6 commit 430f1ad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/analyses/mallocWrapperAnalysis.ml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ open Prelude.Ana
44
open Analyses
55
open GobConfig
66
open ThreadIdDomain
7+
module Q = Queries
78

89
module Spec: Analyses.MCPSpec =
910
struct
@@ -58,8 +59,6 @@ struct
5859
module D = Lattice.Prod (MallocCounter) (PL)
5960
module C = D
6061

61-
module Q = Queries
62-
6362
let wrappers = Hashtbl.create 13
6463

6564
(* transfer functions *)
@@ -111,7 +110,7 @@ struct
111110
let get_heap_var = NodeVarinfoMap.to_varinfo
112111

113112

114-
let query (ctx: (D.t, G.t, C.t, V.t) ctx) (type a) (q: a Q.t): a Queries.result =
113+
let query (ctx: (D.t, G.t, C.t, V.t) ctx) (type a) (q: a Q.t): a Q.result =
115114
let counter, wrapper_node = ctx.local in
116115
match q with
117116
| Q.HeapVar ->

0 commit comments

Comments
 (0)