diff options
| author | herbelin | 2009-08-13 19:10:11 +0000 |
|---|---|---|
| committer | herbelin | 2009-08-13 19:10:11 +0000 |
| commit | 79a25a71dd3519d8e7a6bd9f3a004c7c0da3a1b5 (patch) | |
| tree | 949401f9c40c65a0a6bb3f8aa14a97428649451a /pretyping | |
| parent | 6366dec0a76dbaf100907b2d4cd4da84a2ba7fef (diff) | |
Death of "survive_module" and "survive_section" (the first one was
only used to allow a module to be ended before the summaries were
restored what can be solved by moving upwards the place where the
summaries are restored).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12275 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping')
| -rw-r--r-- | pretyping/classops.ml | 4 | ||||
| -rw-r--r-- | pretyping/recordops.ml | 8 | ||||
| -rw-r--r-- | pretyping/tacred.ml | 4 | ||||
| -rw-r--r-- | pretyping/typeclasses.ml | 4 |
4 files changed, 5 insertions, 15 deletions
diff --git a/pretyping/classops.ml b/pretyping/classops.ml index 901341e7bc..348ae46dc6 100644 --- a/pretyping/classops.ml +++ b/pretyping/classops.ml @@ -110,9 +110,7 @@ let _ = Summary.declare_summary "inh_graph" { Summary.freeze_function = freeze; Summary.unfreeze_function = unfreeze; - Summary.init_function = init; - Summary.survive_module = false; - Summary.survive_section = false } + Summary.init_function = init } let _ = init() diff --git a/pretyping/recordops.ml b/pretyping/recordops.ml index c82589b9a6..c298959123 100644 --- a/pretyping/recordops.ml +++ b/pretyping/recordops.ml @@ -125,9 +125,7 @@ let _ = declare_summary "record-methods-state" { freeze_function = (fun () -> !meth_dnet); unfreeze_function = (fun m -> meth_dnet := m); - init_function = (fun () -> meth_dnet := MethodsDnet.empty); - survive_module = false; - survive_section = false } + init_function = (fun () -> meth_dnet := MethodsDnet.empty) } open Libobject @@ -333,6 +331,4 @@ let _ = Summary.declare_summary "objdefs" { Summary.freeze_function = freeze; Summary.unfreeze_function = unfreeze; - Summary.init_function = init; - Summary.survive_module = false; - Summary.survive_section = false } + Summary.init_function = init } diff --git a/pretyping/tacred.ml b/pretyping/tacred.ml index 1c7cfa9f64..fc790c672a 100644 --- a/pretyping/tacred.ml +++ b/pretyping/tacred.ml @@ -140,9 +140,7 @@ let _ = Summary.declare_summary "evaluation" { Summary.freeze_function = freeze; Summary.unfreeze_function = unfreeze; - Summary.init_function = init; - Summary.survive_module = false; - Summary.survive_section = false } + Summary.init_function = init } (* [compute_consteval] determines whether c is an "elimination constant" diff --git a/pretyping/typeclasses.ml b/pretyping/typeclasses.ml index 52e2eb24e5..2e4f978f5e 100644 --- a/pretyping/typeclasses.ml +++ b/pretyping/typeclasses.ml @@ -95,9 +95,7 @@ let _ = Summary.declare_summary "classes_and_instances" { Summary.freeze_function = freeze; Summary.unfreeze_function = unfreeze; - Summary.init_function = init; - Summary.survive_module = false; - Summary.survive_section = true } + Summary.init_function = init } let add_instance_hint_ref = ref (fun id pri -> assert false) let register_add_instance_hint = |
