Skip to content

Commit 91ca675

Browse files
committed
Move comments about hashcons in SpecLifters
1 parent 4fe5985 commit 91ca675

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/lifters/specLifters.ml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct
3636

3737
let name () = N.lift_name (S.name ())
3838

39-
type marshal = S.marshal (* TODO: should hashcons table be in here to avoid relift altogether? *)
39+
type marshal = S.marshal
4040
let init = S.init
4141
let finalize = S.finalize
4242

@@ -120,6 +120,8 @@ struct
120120
end
121121

122122
include DomainLifter (NameLifter) (Lattice.HConsed (HConsedArg)) (S)
123+
124+
(* TODO: should marshal hashcons table to avoid relift altogether? *)
123125
end
124126

125127
module type PrintableLifter =
@@ -145,7 +147,7 @@ struct
145147

146148
let name () = N.lift_name (S.name ())
147149

148-
type marshal = S.marshal (* TODO: should hashcons table be in here to avoid relift altogether? *)
150+
type marshal = S.marshal
149151
let init = S.init
150152
let finalize = S.finalize
151153

@@ -214,6 +216,7 @@ end
214216

215217
(** Lifts a [Spec] so that the context is [Hashcons]d. *)
216218
module HashconsContextLifter = ContextLifter (struct let lift_name s = s ^ " context hashconsed" end) (Printable.HConsed)
219+
(* TODO: should marshal hashcons table to avoid relift altogether? *)
217220

218221
(** Lifts a [Spec] so that the context is [HashCached]. *)
219222
module HashCachedContextLifter = ContextLifter (struct let lift_name s = s ^ " context hashcached" end) (Printable.HashCached)

0 commit comments

Comments
 (0)