ghc-7.0.1: The GHC API
SPARC.RegPlate
Description
Nasty #ifdefery that generates the definitions for freeReg and globalRegMaybe from the information in includes/MachRegs.h.
If the current TARGET_ARCH isn't sparc then these functions will be wrong.
freeReg :: RegNo -> FastBoolSource
globalRegMaybe :: GlobalReg -> Maybe RealRegSource