aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/cbv.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-11-05 18:24:20 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2017-02-14 17:23:51 +0100
commit214a2ffd2cce3fa24908710af7db528a40345db6 (patch)
tree125f2f5b25e4af803bf95a6edefc51b1555b27a9 /pretyping/cbv.ml
parentd528fdaf12b74419c47698cca7c6f1ec762245a3 (diff)
Cbv API using EConstr.
Diffstat (limited to 'pretyping/cbv.ml')
-rw-r--r--pretyping/cbv.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pretyping/cbv.ml b/pretyping/cbv.ml
index 84bf849e7..a42061f28 100644
--- a/pretyping/cbv.ml
+++ b/pretyping/cbv.ml
@@ -376,6 +376,7 @@ and cbv_norm_value info = function (* reduction under binders *)
(* with profiling *)
let cbv_norm infos constr =
+ let constr = EConstr.Unsafe.to_constr constr in
with_stats (lazy (cbv_norm_term infos (subs_id 0) constr))
type cbv_infos = cbv_value infos