ocaml/bytecomp/dectree.mli

11 lines
341 B
OCaml
Raw Normal View History

(* Transformation of N-way integer branches *)
open Lambda
(* Input: a list of (key, action) pairs, where keys are integers. *)
(* Output: a table of (low, high, offset) triples for Ptranslate
a list of actions for Lswitch *)
val make_decision_tree:
(int * lambda) list -> (int * int * int) array * (int * lambda) list * int