aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/modops.mli
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-05-17 17:30:55 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-05-17 17:30:55 +0000
commit7386d0718f8c1e6fb47eea787d4287338f9e7060 (patch)
tree7aebb7f48f1d724596d14a8a147e7d68f7317626 /checker/modops.mli
parentcc5d102f0d9e3eef2e7b810c47002f26335601db (diff)
Modops: the strengthening functions can work without any env argument
The env was used for a particular case of Cbytegen.compile_constant_body, but we can actually guess that it will answer a particular BCallias con. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14134 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker/modops.mli')
-rw-r--r--checker/modops.mli6
1 files changed, 3 insertions, 3 deletions
diff --git a/checker/modops.mli b/checker/modops.mli
index b0bc0ee7f..5ed7b0ce2 100644
--- a/checker/modops.mli
+++ b/checker/modops.mli
@@ -20,7 +20,7 @@ open Environ
(* make the envirconment entry out of type *)
val module_body_of_type : module_path -> module_type_body -> module_body
-val module_type_of_module : env -> module_path option -> module_body ->
+val module_type_of_module : module_path option -> module_body ->
module_type_body
val destr_functor :
@@ -31,9 +31,9 @@ val add_signature : module_path -> structure_body -> delta_resolver -> env -> en
(* adds a module and its components, but not the constraints *)
val add_module : module_body -> env -> env
-val strengthen : env -> module_type_body -> module_path -> module_type_body
+val strengthen : module_type_body -> module_path -> module_type_body
-val subst_and_strengthen : module_body -> module_path -> env -> module_body
+val subst_and_strengthen : module_body -> module_path -> module_body
val error_incompatible_modtypes :
module_type_body -> module_type_body -> 'a