Module Clambda
type function_label = string
type ustructured_constant =
| Uconst_float of float
| Uconst_int32 of int32
| Uconst_int64 of int64
| Uconst_nativeint of nativeint
| Uconst_block of int * uconstant list
| Uconst_float_array of float list
| Uconst_string of string
type uconstant =
| Uconst_ref of string * ustructured_constant
| Uconst_int of int
| Uconst_ptr of int
type ulambda =
| Uconst of uconstant
| Uclosure of ufunction list * ulambda list
| Uoffset of ulambda * int
| Uswitch of ulambda * ulambda_switch
| Ustringswitch of ulambda * (string * ulambda) list * ulambda option
| Ustaticfail of int * ulambda list
| Uifthenelse of ulambda * ulambda * ulambda
| Usequence of ulambda * ulambda
| Uwhile of ulambda * ulambda
type ulambda_switch = {
us_index_consts : int array;
us_actions_consts : ulambda array;
us_index_blocks : int array;
us_actions_blocks : ulambda array;
}
type value_approximation =
| Value_closure of function_description * value_approximation
| Value_tuple of value_approximation array
| Value_unknown
| Value_const of uconstant
| Value_global_field of string * int
val compare_structured_constants : ustructured_constant -> ustructured_constant -> int
val compare_constants : uconstant -> uconstant -> int