summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Move more code into codeGen/CodeGen/Platform.hsIan Lynagh2012-08-288-15/+39
| | | | | | | | 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.
* Fix callerSaves, activeStgRegs, haveRegBase when unregisterisedSimon Marlow2012-08-281-0/+6
|
* Add haveRegBase to CodeGen.PlatformIan Lynagh2012-08-211-1/+16
|
* Move activeStgRegs into CodeGen.PlatformIan Lynagh2012-08-218-15/+35
|
* Fix the generation of CallerSaves; fixes #7163Ian Lynagh2012-08-218-0/+95
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.