jon.recoil.org

Module Alloc_mode.For_allocations

type t = private
  1. | Heap
    (*

    Normal allocation on the OCaml heap.

    *)
  2. | Local of {
    1. region : Flambda2_identifiers.Variable.t;
    }
    (*

    Allocation on the local allocation stack in the given region.

    *)

Decisions on allocation locations

Returns Heap if stack allocation is disabled!

include Flambda2_nominal.Contains_names.S with type t := Flambda2_term_basics.Alloc_mode.For_allocations.t

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