jon.recoil.org

Module Flambda2_terms.Function_declarations

type t

The part of a Set_of_closures that describes the functions therein (as opposed to the captured variables).

include Flambda2_terms.Expr_std.S with type t := Flambda2_terms.Function_declarations.t
include Flambda2_nominal.Contains_names.S with type t := Flambda2_terms.Function_declarations.t

Compute the free names of a term. Such computation covers all kinds of bindable names (variables, continuations, ...)

type code_id_in_function_declaration =
  1. | Deleted of {
    1. function_slot_size : int;
    2. dbg : Debuginfo.t;
    }
  2. | Code_id of {
    1. code_id : Flambda2_identifiers.Code_id.t;
    2. only_full_applications : bool;
    }

The function(s) defined by the set of function declarations, indexed by function slot.

The function(s) defined by the set of function declarations, in the order originally given.