package ocaml-compiler
Module Instruct
type closure_env = | Not_in_closure| In_closure of {entries : closure_entry Ident.tbl;env_pos : int;
}
type debug_event = {mutable ev_pos : int;ev_module : string;ev_loc : Location.t;ev_kind : debug_event_kind;ev_defname : string;ev_info : debug_event_info;ev_typenv : Env.summary;ev_typsubst : Subst.t;ev_compenv : compilation_env;ev_stacksize : int;ev_repr : debug_event_repr;
}type closure_hint = {params : Lambda.value_kind list;return : Lambda.value_kind;inline : Lambda.inline_attribute;specialise : Lambda.specialise_attribute;is_a_functor : bool;
}type ccall_hint = | Hint_unsafe| Hint_int of Primitive.boxed_integer| Hint_bigarray of {unsafe : bool;elt_kind : Lambda.bigarray_kind;layout : Lambda.bigarray_layout;
}| Hint_primitive of Primitive.description| Hint_immediate_result
type optimization_hint = | Hint_immutable_block| Hint_arraylength of Lambda.array_kind| Hint_closures of closure_hint list| Hint_ccall of ccall_hint| Hint_int_equality_test| Hint_immediate| Hint_variant
type instruction = | Klabel of label| Kacc of int| Kenvacc of int| Kpush| Kpop of int| Kassign of int| Kpush_retaddr of label| Kapply of int| Kappterm of int * int| Kreturn of int| Krestart| Kgrab of int| Kclosure of label * int * closure_hint| Kclosurerec of (label * closure_hint) list * int| Koffsetclosure of int| Kgetglobal of Ident.t| Ksetglobal of Ident.t| Kconst of Lambda.structured_constant| Kmakeblock of int * int * Asttypes.mutable_flag| Kmakefloatblock of int * Asttypes.mutable_flag| Kgetfield of int * Lambda.immediate_or_pointer| Ksetfield of int| Kgetfloatfield of int| Ksetfloatfield of int| Kvectlength of Lambda.array_kind| Kgetvectitem of Lambda.immediate_or_pointer| Ksetvectitem| Kgetstringchar| Kgetbyteschar| Ksetbyteschar| Kbranch of label| Kbranchif of label| Kbranchifnot of label| Kstrictbranchif of label| Kstrictbranchifnot of label| Kswitch of label array * label array| Kboolnot| Kpushtrap of label| Kpoptrap| Kraise of Lambda.raise_kind| Kcheck_signals| Kccall of string * int * ccall_hint option| Knegint| Kaddint| Ksubint| Kmulint| Kdivint| Kmodint| Kandint| Korint| Kxorint| Klslint| Klsrint| Kasrint| Kintcomp of Lambda.integer_comparison| Kphyscomp of Lambda.physical_comparison| Koffsetint of int| Koffsetref of int| Kisint of bool| Kisout| Kgetmethod| Kgetpubmet of int| Kgetdynmet| Kevent of debug_event| Kperform| Kresume| Kresumeterm of int| Kreperformterm of int| Kstop