From 0e2189a7a070dd356d5e549392d35d9d07b05058 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Thu, 16 Jun 2016 17:47:44 +0200 Subject: Factorizing the uses of Declareops.safe_flags. This allows a smooth addition of various unsafe flags without wreaking havoc in the ML codebase. --- stm/lemmas.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stm/lemmas.ml') diff --git a/stm/lemmas.ml b/stm/lemmas.ml index b84b1265e..6d84219d9 100644 --- a/stm/lemmas.ml +++ b/stm/lemmas.ml @@ -79,7 +79,7 @@ let adjust_guardness_conditions const = function List.fold_left (fun e (_,c,cb,_) -> add c cb e) env l) env (Safe_typing.side_effects_of_private_constants eff) in let indexes = - search_guard ~tflags:{Declarations.check_guarded=true} Loc.ghost env + search_guard ~tflags:Declareops.safe_flags Loc.ghost env possible_indexes fixdecls in (mkFix ((indexes,0),fixdecls), ctx), eff | _ -> (body, ctx), eff) } -- cgit v1.2.3