Expand description
Port of OutlineFunctions from TypeScript (Optimization/OutlineFunctions.ts).
Extracts anonymous function expressions that do not close over any local
variables into top-level outlined functions. The original instruction is
replaced with a LoadGlobal referencing the outlined function’s generated name.
Conditional on env.config.enable_function_outlining.
Functions§
- outline_
functions - Outline anonymous function expressions that have no captured context variables.