[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 ->
ControlDepSet.union deps acc
| None ->
L.internal_error "Failed to get the definition of the control variable %a" Ident.pp
id ;
assert false )
L.internal_error
"Failed to get the definition of the control variable %a in exp %a \n" Ident.pp id
Exp.pp exp ;
acc )
(* extract vars from the prune instructions in the node *)

Loading…
Cancel
Save