aboutsummaryrefslogtreecommitdiff
path: root/kernel/cemitcodes.mli
diff options
context:
space:
mode:
authorMaxime Dénès2018-02-19 10:12:22 +0100
committerMaxime Dénès2018-02-19 10:12:22 +0100
commitc047ecce6e4dba33df69a53a9e168999676c65db (patch)
tree83fb92feaff7904a2f091a7c510aae1e3f766a5d /kernel/cemitcodes.mli
parent9accca23fb79f8a14d1cd35fa681a2e0bece1db5 (diff)
parent745696124240963616a38f41b1a20f199646c5dc (diff)
Merge PR #6230: Better Cemitcodes API + compact relocation representation
Diffstat (limited to 'kernel/cemitcodes.mli')
-rw-r--r--kernel/cemitcodes.mli14
1 files changed, 3 insertions, 11 deletions
diff --git a/kernel/cemitcodes.mli b/kernel/cemitcodes.mli
index fee45aafd8..03920dc1a3 100644
--- a/kernel/cemitcodes.mli
+++ b/kernel/cemitcodes.mli
@@ -6,20 +6,12 @@ type reloc_info =
| Reloc_const of structured_constant
| Reloc_getglobal of Constant.t
-type patch = reloc_info * int
-
-(* A virer *)
-val subst_patch : Mod_subst.substitution -> patch -> patch
-
+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