Skip to content
Snippets Groups Projects
Commit c8f85d9f authored by Julien Signoles's avatar Julien Signoles
Browse files

comments

parent 275b0201
No related branches found
No related tags found
No related merge requests found
...@@ -124,10 +124,10 @@ let build ~infer t = ...@@ -124,10 +124,10 @@ let build ~infer t =
let args_lty = List.map2 let args_lty = List.map2
(fun lv arg -> (fun lv arg ->
try try
(* speed-up convergence *) (* speed-up convergence; because of this approximation, no need to
associate [i] to [lv] in [Interval.Env]: the very same interval
will be computed anyway. *)
let i = interv_of_typ_containing_interv (infer arg) in let i = interv_of_typ_containing_interv (infer arg) in
(* TODO: *)
(* Env.add lv i;*)
Ctype (TInt(ikind_of_interv i, [])) Ctype (TInt(ikind_of_interv i, []))
with with
| Cil.Not_representable -> Linteger | Cil.Not_representable -> Linteger
...@@ -151,7 +151,6 @@ let build ~infer t = ...@@ -151,7 +151,6 @@ let build ~infer t =
let ieqs = Ivar.Map.add ivar iexp ieqs in let ieqs = Ivar.Map.add ivar iexp ieqs in
ieqs, ivars ieqs, ivars
in in
(* List.iter (fun lv -> Env.remove lv) li.l_profile;*)
Ivar ivar, ieqs, ivars Ivar ivar, ieqs, ivars
end else end else
(try Iconst(infer t), ieqs, ivars (try Iconst(infer t), ieqs, ivars
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment