[control] Don't fail hard on undefined control variables

Reviewed By: martintrojer

Differential Revision: D14973287

fbshipit-source-id: 633ce3e04
master
Ezgi Çiçek 6 years ago committed by Facebook Github Bot
parent f4cdc23543
commit 478e278ba0

@ -89,9 +89,10 @@ module TransferFunctionsControlDeps (CFG : ProcCfg.S) = struct
| Some deps -> | Some deps ->
ControlDepSet.union deps acc ControlDepSet.union deps acc
| None -> | None ->
L.internal_error "Failed to get the definition of the control variable %a" Ident.pp L.internal_error
id ; "Failed to get the definition of the control variable %a in exp %a \n" Ident.pp id
assert false ) Exp.pp exp ;
acc )
(* extract vars from the prune instructions in the node *) (* extract vars from the prune instructions in the node *)

Loading…
Cancel
Save