aboutsummaryrefslogtreecommitdiff
path: root/kernel/declareops.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-03-27 16:16:40 +0200
committerPierre-Marie Pédrot2018-07-26 13:50:10 +0200
commitde20a45db5d45154819f2ed4359effdbb8bf0292 (patch)
tree4df0add753c3464868f3bc61350cdd9ff7dc445a /kernel/declareops.ml
parent09c76adaff7adaada1c49479dfa9a4d0a4b416af (diff)
Turn the kernel reduction sharing flag into an argument passed in the cache.
We move the global declaration of that argument to the environment, and reuse the Global module to handle this flag. Note that the checker was not using this flag before this patch, and still doesn't use it. This should probably be fixed in a later patch.
Diffstat (limited to 'kernel/declareops.ml')
-rw-r--r--kernel/declareops.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/declareops.ml b/kernel/declareops.ml
index bbe4bc0dcb..b0d8410873 100644
--- a/kernel/declareops.ml
+++ b/kernel/declareops.ml
@@ -21,6 +21,7 @@ let safe_flags oracle = {
check_guarded = true;
check_universes = true;
conv_oracle = oracle;
+ share_reduction = true;
}
(** {6 Arities } *)