aboutsummaryrefslogtreecommitdiff
path: root/kernel/cbytecodes.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/cbytecodes.mli
parent9accca23fb79f8a14d1cd35fa681a2e0bece1db5 (diff)
parent745696124240963616a38f41b1a20f199646c5dc (diff)
Merge PR #6230: Better Cemitcodes API + compact relocation representation
Diffstat (limited to 'kernel/cbytecodes.mli')
-rw-r--r--kernel/cbytecodes.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/cbytecodes.mli b/kernel/cbytecodes.mli
index 5d37a5840b..bf2e462e83 100644
--- a/kernel/cbytecodes.mli
+++ b/kernel/cbytecodes.mli
@@ -41,6 +41,12 @@ type reloc_table = (tag * int) array
type annot_switch =
{ci : case_info; rtbl : reloc_table; tailcall : bool; max_stack_size : int}
+val eq_structured_constant : structured_constant -> structured_constant -> bool
+val hash_structured_constant : structured_constant -> int
+
+val eq_annot_switch : annot_switch -> annot_switch -> bool
+val hash_annot_switch : annot_switch -> int
+
module Label :
sig
type t = int