VmvaluesValues
type vstack = values arrayval type_atom_tag : tagval max_atom_tag : tagval proj_tag : tagval fix_app_tag : tagval switch_tag : tagval cofix_tag : tagval cofix_evaluated_tag : tagtype structured_constant = | Const_sort of Sorts.t |
| Const_ind of Names.inductive |
| Const_evar of Evar.t |
| Const_b0 of tag |
| Const_univ_instance of UVars.Instance.t |
| Const_val of structured_values |
| Const_uint of Uint63.t |
| Const_float of Float64.t |
| Const_string of Pstring.t |
val pp_struct_const : structured_constant -> Pp.ttype reloc_table = (tag * int) arrayval eq_structured_constant : structured_constant -> structured_constant -> boolval hash_structured_constant : structured_constant -> intval eq_annot_switch : annot_switch -> annot_switch -> boolval hash_annot_switch : annot_switch -> intval crazy_val : valuesMachine code
type vswitch = {sw_type_code : tcode; |
sw_code : tcode; |
sw_annot : annot_switch; |
sw_stk : vstack; |
sw_env : vm_env; |
}val mkAccuCode : int -> tcodetype id_key = | ConstKey of Names.Constant.t |
| VarKey of Names.Id.t |
| RelKey of Int.t |
| EvarKey of Evar.t |
val get_atom_rel : unit -> atom arrayGlobal table of rels
Zippers
type stack = zipper listFor debugging purposes only
Constructors
val val_of_str_const : structured_constant -> valuesval val_of_rel : int -> valuesval val_of_named : Names.Id.t -> valuesval val_of_constant : Names.Constant.t -> valuesval val_of_int : int -> structured_valuesval val_of_block : tag -> structured_values array -> structured_valuesval val_of_uint : Uint63.t -> structured_valuesval val_of_float : Float64.t -> structured_valuesval val_of_annot_switch : annot_switch -> valuesDestructors
val uni_instance : values -> UVars.Instance.tArguments
val nargs : arguments -> intProduct
val closure_arity : vfun -> intFun
Fix
val current_fix : vfix -> intval rec_args : vfix -> int arrayCoFix
val current_cofix : vcofix -> intBlock
val btag : vblock -> intval bsize : vblock -> intSwitch
val parray_make : valuesPrimitives implemented in OCaml, seen as values (to be used as globals)
val parray_get : valuesval parray_get_default : valuesval parray_set : valuesval parray_copy : valuesval parray_length : valuesval pstring_make : valuesval pstring_length : valuesval pstring_get : valuesval pstring_sub : valuesval pstring_cat : valuesval pstring_compare : values