diff options
Diffstat (limited to 'kernel/cemitcodes.mli')
-rw-r--r-- | kernel/cemitcodes.mli | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/kernel/cemitcodes.mli b/kernel/cemitcodes.mli index c80edd59..03920dc1 100644 --- a/kernel/cemitcodes.mli +++ b/kernel/cemitcodes.mli @@ -4,26 +4,18 @@ open Cbytecodes type reloc_info = | Reloc_annot of annot_switch | Reloc_const of structured_constant - | Reloc_getglobal of constant - -type patch = reloc_info * int - -(* A virer *) -val subst_patch : Mod_subst.substitution -> patch -> patch + | Reloc_getglobal of Constant.t +type patches type emitcodes -val length : emitcodes -> int - -val patch_int : emitcodes -> ((*pos*)int * int) list -> emitcodes - -type to_patch = emitcodes * (patch list) * fv +val patch : emitcodes -> patches -> (reloc_info -> int) -> Vmvalues.tcode -val subst_to_patch : Mod_subst.substitution -> to_patch -> to_patch +type to_patch = emitcodes * patches * fv type body_code = | BCdefined of to_patch - | BCalias of constant + | BCalias of Constant.t | BCconstant |