[sledge] Change: No need to compute type of arg of assume

Reviewed By: ngorogiannis

Differential Revision: D21720971

fbshipit-source-id: c3dece889
master
Josh Berdine 5 years ago committed by Facebook GitHub Bot
parent 7c53cb3d76
commit 3e5c2ac7d2

@ -195,11 +195,7 @@ let assign reg exp q =
(** block if [e] is known to be false; skip otherwise *) (** block if [e] is known to be false; skip otherwise *)
let exec_assume q e = let exec_assume q e =
match match apron_texpr_of_llair_term (Exp.term e) q Texpr1.Int with
Option.bind
~f:(apron_texpr_of_llair_term (Exp.term e) q)
(apron_typ_of_llair_typ (Exp.typ e))
with
| Some e -> | Some e ->
let cond = let cond =
Abstract1.bound_texpr (Lazy.force man) q (Texpr1.of_expr q.env e) Abstract1.bound_texpr (Lazy.force man) q (Texpr1.of_expr q.env e)

Loading…
Cancel
Save