diff options
| author | Gaëtan Gilbert | 2020-08-18 13:07:54 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2020-08-18 13:07:54 +0200 |
| commit | 4ee0cedff7726a56ebd53125995a7ae131660b4a (patch) | |
| tree | f5049f849a27b518f5c27298058df620a0ca38b3 /kernel/vmbytegen.mli | |
| parent | aa926429727f1f6b5ef07c8912f2618d53f6d155 (diff) | |
Rename VM-related kernel/cfoo files to kernel/vmfoo
Diffstat (limited to 'kernel/vmbytegen.mli')
| -rw-r--r-- | kernel/vmbytegen.mli | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/kernel/vmbytegen.mli b/kernel/vmbytegen.mli new file mode 100644 index 0000000000..aef7ac3d6b --- /dev/null +++ b/kernel/vmbytegen.mli @@ -0,0 +1,31 @@ +(************************************************************************) +(* * The Coq Proof Assistant / The Coq Development Team *) +(* v * Copyright INRIA, CNRS and contributors *) +(* <O___,, * (see version control and CREDITS file for authors & dates) *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(* * (see LICENSE file for the text of the license) *) +(************************************************************************) + +open Vmbytecodes +open Vmemitcodes +open Constr +open Declarations +open Environ + +(** Should only be used for monomorphic terms *) +val compile : fail_on_error:bool -> + ?universes:int -> env -> constr -> (bytecodes * bytecodes * fv) option +(** init, fun, fv *) + +val compile_constant_body : fail_on_error:bool -> + env -> universes -> (Constr.t Mod_subst.substituted, 'opaque) constant_def -> + body_code option + +(** Shortcut of the previous function used during module strengthening *) + +val compile_alias : Names.Constant.t -> body_code + +(** Dump the bytecode after compilation (for debugging purposes) *) +val dump_bytecode : bool ref |
