aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/environ.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2018-06-01 16:23:29 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2018-06-17 11:34:43 +0200
commit74d700e9f7fcb14e7136e87b5efab25d5adb194b (patch)
tree6b5c575b669a385931e61c645d137dc356985a77 /checker/environ.ml
parentd62354b7e9ff8e20aa959984b392a27e26f9fc24 (diff)
Getting rid of the const_proj field in the kernel.
This field used to signal that a constant was the compatibility eta-expansion of a primitive projections, but since a previous cleanup in the kernel it had become useless.
Diffstat (limited to 'checker/environ.ml')
-rw-r--r--checker/environ.ml3
1 files changed, 0 insertions, 3 deletions
diff --git a/checker/environ.ml b/checker/environ.ml
index 809150cea..3d5fac806 100644
--- a/checker/environ.ml
+++ b/checker/environ.ml
@@ -166,9 +166,6 @@ let evaluable_constant cst env =
try let _ = constant_value env (cst, Univ.Instance.empty) in true
with Not_found | NotEvaluableConst _ -> false
-let is_projection cst env =
- (lookup_constant cst env).const_proj
-
let lookup_projection p env =
Cmap_env.find (Projection.constant p) env.env_globals.env_projections