aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/cemitcodes.mli
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cemitcodes.mli')
-rw-r--r--kernel/cemitcodes.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/cemitcodes.mli b/kernel/cemitcodes.mli
index 43cebb474..287c39304 100644
--- a/kernel/cemitcodes.mli
+++ b/kernel/cemitcodes.mli
@@ -13,6 +13,8 @@ val subst_patch : Mod_subst.substitution -> patch -> patch
type emitcodes
+val copy : emitcodes -> emitcodes
+
val length : emitcodes -> int
val patch_int : emitcodes -> (*pos*)int -> int -> unit
@@ -35,5 +37,8 @@ val force : to_patch_substituted -> body_code
val subst_to_patch_subst : Mod_subst.substitution -> to_patch_substituted -> to_patch_substituted
+val repr_body_code :
+ to_patch_substituted -> Mod_subst.substitution list option * body_code
+
val to_memory : bytecodes * bytecodes * fv -> to_patch
(** init code, fun code, fv *)