aboutsummaryrefslogtreecommitdiff
path: root/pretyping
diff options
context:
space:
mode:
authorMaxime Dénès2018-09-03 12:36:45 +0200
committerMaxime Dénès2018-09-03 12:36:45 +0200
commit3bc0c82700a805e889198b810cc0148f6479cbe1 (patch)
treeeac2cce0546a79cb5786e0570c0c55b9b4438e4b /pretyping
parent7456164386a87df83763109e12fa8aaa71a96104 (diff)
parent14a1786158ec093faa172a5b95a93b06ad43b7af (diff)
Merge PR #7085: Turn the kernel reduction sharing flag into an argument passed in the cache
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/cbv.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/cbv.ml b/pretyping/cbv.ml
index da6e26cc4b..fc24e9b3a9 100644
--- a/pretyping/cbv.ml
+++ b/pretyping/cbv.ml
@@ -455,7 +455,8 @@ let cbv_norm infos constr =
(* constant bodies are normalized at the first expansion *)
let create_cbv_infos flgs env sigma =
let infos = create
- (fun old_info tab c -> cbv_stack_term { tab; infos = old_info; sigma } TOP (subs_id 0) c)
+ ~share:true (** Not used by cbv *)
+ ~repr:(fun old_info tab c -> cbv_stack_term { tab; infos = old_info; sigma } TOP (subs_id 0) c)
flgs
env
(Reductionops.safe_evar_value sigma) in