package ocaml-solo5-cross-aarch64

  1. Overview
  2. Docs
OCaml cross-compiler to the freestanding 64-bit ARM Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.2.tar.gz
sha512=3785d4111ac06c1c701c02d11d522388249493786d0c351a50329bf481cae8df844615d8ca42626e98e72f4375d15622298339d3012e927a35c741ea3aec28f4

doc/compiler-libs.optcomp/Remove_unused_arguments/index.html

Module Remove_unused_arguments

val separate_unused_arguments_in_closures : Flambda.program -> backend:(module Backend_intf.S) -> Flambda.program

Introduce a stub function to avoid depending on unused arguments.

For instance, it turns let rec fact n unused = if n = 0 then 1 else n * fact (n-1) unused into let rec fact' n = if n = 0 then 1 else n * fact' (n-1) and fact n unused = fact' n

val separate_unused_arguments_in_set_of_closures : Flambda.set_of_closures -> backend:(module Backend_intf.S) -> Flambda.set_of_closures option