Factor 'callerSaveVolatileRegs' out of the NCG and into CgUtil
authorMichael D. Adams <adamsmd@cs.indiana.edu>
Tue, 17 Jul 2007 01:42:57 +0000 (01:42 +0000)
committerMichael D. Adams <adamsmd@cs.indiana.edu>
Tue, 17 Jul 2007 01:42:57 +0000 (01:42 +0000)
commit95e67967d9abbef73e8d355d0e168759b4ee0590
tree4b5b0601420f0b20fb31021bed423d903a9598d2
parent163efd68fae4e23a2d4182839d776da04c363153
Factor 'callerSaveVolatileRegs' out of the NCG and into CgUtil

This is needed because CgForeign and parts of the CPS pass now use
'callerSaveVolatileRegs' and not all platforms have access to the NCG.
compiler/cmm/CmmBrokenBlock.hs
compiler/cmm/CmmCPSGen.hs
compiler/codeGen/CgForeignCall.hs
compiler/codeGen/CgUtils.hs
compiler/nativeGen/MachRegs.lhs