| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | open Vmemitcodes |
| 12 | open Constr |
| 13 | open Declarations |
| 14 | open Environ |
| 15 | |
| 16 | val compile : |
| 17 | fail_on_error:bool -> |
| 18 | env -> Genlambda.evars -> constr -> |
| 19 | (bool array * to_patch * patches) option |
| 20 | |
| 21 | val compile_constant_body : fail_on_error:bool -> |
| 22 | env -> universes -> (Constr.t, 'opaque, 'symb) constant_def -> |
| 23 | body_code option |
| 24 | |
| 25 | (** Shortcut of the previous function used during module strengthening *) |
| 26 | |
| 27 | val compile_alias : Names.Constant.t -> 'a pbody_code |
| 28 | |
| 29 | (** Dump the bytecode after compilation (for debugging purposes) *) |
| 30 | val dump_bytecode_flag : CDebug.flag |