Debian Codegraph @

kernel/vmemitcodes.mli

raw symbols SCIP
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 open Names
11 open Vmvalues
12 open Vmbytecodes
13
14 type reloc_info =
15 | Reloc_annot of annot_switch
16 | Reloc_const of structured_constant
17 | Reloc_getglobal of Constant.t
18 | Reloc_caml_prim of caml_prim
19
20 type to_patch
21 type patches
22
23 val patch : (to_patch * patches) -> (reloc_info -> int) -> Vmvalues.tcode * fv
24
25 type 'a pbody_code =
26 | BCdefined of bool array * 'a * patches
27 | BCalias of Constant.t
28 | BCconstant
29
30 type body_code = to_patch pbody_code
31
32 val subst_body_code : Mod_subst.substitution -> 'a pbody_code -> 'a pbody_code
33
34 val to_memory : fv -> bytecodes -> to_patch * patches