package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.09.1

Install

Dune Dependency

Authors

Maintainers

Sources

4.09.1.tar.gz
sha256=3e3146e0c876d14bdd574cb543e782feb2b07a7cabd054a8f322ef40de61943a

doc/ocamloptcomp/Cmmgen_state/index.html

Module Cmmgen_state

Mutable state used by Cmmgen.

val reset : unit -> unit
type is_global =
  1. | Global
  2. | Local
type constant =
  1. | Const_closure of is_global * Clambda.ufunction list * Clambda.uconstant list
  2. | Const_table of is_global * Cmm.data_item list
val add_constant : Misc.Stdlib.String.t -> constant -> unit
val add_data_items : Cmm.data_item list -> unit
val add_function : Clambda.ufunction -> unit
val constants : unit -> constant Misc.Stdlib.String.Map.t
val data_items : unit -> Cmm.data_item list
val next_function : unit -> Clambda.ufunction option
val no_more_functions : unit -> bool
OCaml

Innovation. Community. Security.