aboutsummaryrefslogtreecommitdiff
path: root/kernel/term_typing.ml
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/term_typing.ml
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/term_typing.ml')
-rw-r--r--kernel/term_typing.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/term_typing.ml b/kernel/term_typing.ml
index 57d4a287b0..b8c32ffe56 100644
--- a/kernel/term_typing.ml
+++ b/kernel/term_typing.ml
@@ -174,7 +174,6 @@ let build_constant_declaration kn env (def,typ,cst,inline_code,ctx) =
const_type = typ;
const_body_code = Cemitcodes.from_val (compile_constant_body env def);
const_constraints = cst;
- const_native_name = ref NotLinked;
const_inline_code = inline_code }
(*s Global and local constant declaration. *)