GHC.Stg.BcPrep

ghc-9.10.0.20240413: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.Stg.BcPrep

Description

Prepare the STG for bytecode generation:

- Ensure that all breakpoints are directly under a let-binding, introducing a new binding for those that aren't already.
- Protect Not-necessarily lifted join points, see Note [Not-necessarily-lifted join points]

# Documentation

bcPrep :: UniqSupply -> [InStgTopBinding] -> [OutStgTopBinding] Source #