aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/subtyping.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2018-06-04 13:32:35 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2018-06-17 11:44:04 +0200
commita4839aa1ff076a8938ca182615a93d6afe748860 (patch)
tree9a68d53f50d7d0411f8950743e915fef78322b35 /checker/subtyping.ml
parent4513b7735779fb440223e6f22079994528249047 (diff)
Remove the proj_eta field of the kernel.
This field was not used inside the kernel and not used in performance-critical code where caching is essential, so we extrude the code that computes it out of the kernel.
Diffstat (limited to 'checker/subtyping.ml')
-rw-r--r--checker/subtyping.ml2
1 files changed, 0 insertions, 2 deletions
diff --git a/checker/subtyping.ml b/checker/subtyping.ml
index 5c672d04a..6f9bf8fce 100644
--- a/checker/subtyping.ml
+++ b/checker/subtyping.ml
@@ -130,8 +130,6 @@ let check_inductive env mp1 l info1 mib2 spec2 subst1 subst2=
check (==) (fun x -> x.proj_npars);
check (==) (fun x -> x.proj_arg);
check (eq_constr) (fun x -> x.proj_type);
- check (eq_constr) (fun x -> fst x.proj_eta);
- check (eq_constr) (fun x -> snd x.proj_eta);
check (eq_constr) (fun x -> x.proj_body); true
in
let check_inductive_type t1 t2 =