ghc-7.2.2: 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