aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/global.ml
diff options
context:
space:
mode:
authorGravatar mdenes <mdenes@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-07-10 12:22:21 +0000
committerGravatar mdenes <mdenes@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-07-10 12:22:21 +0000
commite97e56bcb2e7312d27232117180dbb7bddd67fe7 (patch)
treebdb3e3b17cafea4676d943deef1741ab6d933d48 /library/global.ml
parent0f281377613d77752289f5d9ce100a25d724df61 (diff)
Added a Register Inline command for the native compiler. Will be ported to the VM
too. Almost only a new grammar entry since the inlining machinery was already implemented. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16623 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/global.ml')
-rw-r--r--library/global.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/global.ml b/library/global.ml
index f120ef195..28b691769 100644
--- a/library/global.ml
+++ b/library/global.ml
@@ -162,4 +162,5 @@ let register field value by_clause =
let senv = Safe_typing.register !global_env field entry by_clause in
global_env := senv
-
+let register_inline c =
+ global_env := Safe_typing.register_inline c !global_env