aboutsummaryrefslogtreecommitdiff
path: root/kernel/declarations.mli
diff options
context:
space:
mode:
authorMaxime Dénès2013-12-28 20:39:17 -0500
committerMaxime Dénès2013-12-28 20:39:17 -0500
commitd3eac3d5fc8e5af499eb8750ca08ead8562dac6f (patch)
tree70540c3d5e8b0856db2a9e82710e1b32cdc8465d /kernel/declarations.mli
parenta681e57e3c76dff2fe710ce533179ea659d8de0b (diff)
Removing native_name reference from constant_body.
For now, this reference (renamed to link_info) has been moved to the environment (for constants and inductive types). But this is only a first step towards making the native compiler more functional.
Diffstat (limited to 'kernel/declarations.mli')
-rw-r--r--kernel/declarations.mli14
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/declarations.mli b/kernel/declarations.mli
index d74c9a0d5e..d92b667073 100644
--- a/kernel/declarations.mli
+++ b/kernel/declarations.mli
@@ -40,14 +40,6 @@ type constant_def =
| Def of Lazyconstr.constr_substituted
| OpaqueDef of Lazyconstr.lazy_constr Future.computation
-(** Linking information for the native compiler. The boolean flag indicates if
- the term is protected by a lazy tag *)
-
-type native_name =
- | Linked of string * bool
- | LinkedInteractive of string * bool
- | NotLinked
-
type constant_constraints = Univ.constraints Future.computation
type constant_body = {
@@ -56,7 +48,6 @@ type constant_body = {
const_type : constant_type;
const_body_code : Cemitcodes.to_patch_substituted;
const_constraints : constant_constraints;
- const_native_name : native_name ref;
const_inline_code : bool }
type side_effect =
@@ -150,11 +141,6 @@ type mutual_inductive_body = {
mind_constraints : Univ.constraints; (** Universes constraints enforced by the inductive declaration *)
-(** {8 Data for native compilation } *)
-
- mind_native_name : native_name ref; (** status of the code (linked or not, and where) *)
-
-
}
(** {6 Module declarations } *)