ocaml-base-compiler

Official release 4.12.1
IN THIS PACKAGE
val remove_unused_closure_variables : remove_direct_call_surrogates:bool -> Flambda.program -> Flambda.program

Eliminate variables bound by sets of closures that are not required. Also eliminate functions within sets of closures that are not required.