summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CodeGen/Platform/SPARC.hs
Commit message (Collapse)AuthorAgeFilesLines
* Move more code into codeGen/CodeGen/Platform.hsIan Lynagh2012-08-281-2/+0
| | | | | | | | HaskellMachRegs.h is no longer included in anything under compiler/ Also, includes/CodeGen.Platform.hs now includes "stg/MachRegs.h" rather than <stg/MachRegs.h> which means that we always get the file from the tree, rather than from the bootstrapping compiler.
* Move activeStgRegs into CodeGen.PlatformIan Lynagh2012-08-211-2/+2
|
* Fix the generation of CallerSaves; fixes #7163Ian Lynagh2012-08-211-0/+9
Simon Marlow spotted that we were #include'ing MachRegs.h several times, but that doesn't work as (a) it uses ifdeffery to avoid being included multiple times, and (b) even if we work around that, then the #define's from previous inclusions are still defined when we #include it again. So we now put the platform code for each platform in a separate .hs file.