aboutsummaryrefslogtreecommitdiff
path: root/kernel/vconv.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-10-11 17:40:01 +0200
committerPierre-Marie Pédrot2020-10-11 17:48:56 +0200
commiteb5a67de1fc586acc588d5c61c84df670284f054 (patch)
tree67d4b0767fb6796fc911f1123e8d93d378506326 /kernel/vconv.ml
parent9a026fcaeb3fa2678b9c93da8204f9f1ddcc0b31 (diff)
Pick the universe graph out of the environment in conversion API.
Diffstat (limited to 'kernel/vconv.ml')
-rw-r--r--kernel/vconv.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/vconv.ml b/kernel/vconv.ml
index 304e7e8470..948195797e 100644
--- a/kernel/vconv.ml
+++ b/kernel/vconv.ml
@@ -190,10 +190,10 @@ let warn_bytecode_compiler_failed =
(fun () -> strbrk "Bytecode compiler failed, " ++
strbrk "falling back to standard conversion")
-let vm_conv_gen cv_pb env graph univs t1 t2 =
+let vm_conv_gen cv_pb env univs t1 t2 =
if not (typing_flags env).Declarations.enable_VM then
Reduction.generic_conv cv_pb ~l2r:false (fun _ -> None)
- TransparentState.full env graph univs t1 t2
+ TransparentState.full env univs t1 t2
else
try
let v1 = val_of_constr env t1 in
@@ -202,7 +202,7 @@ let vm_conv_gen cv_pb env graph univs t1 t2 =
with Not_found | Invalid_argument _ ->
warn_bytecode_compiler_failed ();
Reduction.generic_conv cv_pb ~l2r:false (fun _ -> None)
- TransparentState.full env graph univs t1 t2
+ TransparentState.full env univs t1 t2
let vm_conv cv_pb env t1 t2 =
let univs = Environ.universes env in
@@ -212,4 +212,4 @@ let vm_conv cv_pb env t1 t2 =
in
if not b then
let state = (univs, checked_universes) in
- let _ = vm_conv_gen cv_pb env univs state t1 t2 in ()
+ let _ = vm_conv_gen cv_pb env state t1 t2 in ()