aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/nativecode.mli
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2013-12-28 20:39:17 -0500
committerGravatar Maxime Dénès <mail@maximedenes.fr>2013-12-28 20:39:17 -0500
commitd3eac3d5fc8e5af499eb8750ca08ead8562dac6f (patch)
tree70540c3d5e8b0856db2a9e82710e1b32cdc8465d /kernel/nativecode.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/nativecode.mli')
-rw-r--r--kernel/nativecode.mli10
1 files changed, 4 insertions, 6 deletions
diff --git a/kernel/nativecode.mli b/kernel/nativecode.mli
index 5d8ae96f0..f6a0c79f4 100644
--- a/kernel/nativecode.mli
+++ b/kernel/nativecode.mli
@@ -51,14 +51,10 @@ val empty_updates : code_location_updates
val register_native_file : string -> unit
val compile_constant_field : env -> string -> constant ->
- global list * code_location_updates ->
- constant_body ->
- global list * code_location_updates
+ global list -> constant_body -> global list
val compile_mind_field : string -> module_path -> label ->
- global list * code_location_updates ->
- mutual_inductive_body ->
- global list * code_location_updates
+ global list -> mutual_inductive_body -> global list
val mk_conv_code : env -> string -> constr -> constr -> linkable_code
val mk_norm_code : env -> string -> constr -> linkable_code
@@ -67,6 +63,8 @@ val mk_library_header : dir_path -> global list
val mod_uid_of_dirpath : dir_path -> string
+val link_info_of_dirpath : dir_path -> link_info ref
+
val update_locations : code_location_updates -> unit
val add_header_comment : global list -> string -> global list