diff options
author | Michael D. Adams <adamsmd@cs.indiana.edu> | 2007-07-17 01:42:57 +0000 |
---|---|---|
committer | Michael D. Adams <adamsmd@cs.indiana.edu> | 2007-07-17 01:42:57 +0000 |
commit | 95e67967d9abbef73e8d355d0e168759b4ee0590 (patch) | |
tree | 4b5b0601420f0b20fb31021bed423d903a9598d2 /compiler/codeGen/CgForeignCall.hs | |
parent | 163efd68fae4e23a2d4182839d776da04c363153 (diff) | |
download | haskell-95e67967d9abbef73e8d355d0e168759b4ee0590.tar.gz |
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.
Diffstat (limited to 'compiler/codeGen/CgForeignCall.hs')
-rw-r--r-- | compiler/codeGen/CgForeignCall.hs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/codeGen/CgForeignCall.hs b/compiler/codeGen/CgForeignCall.hs index 5d84da773c..ce272e9a86 100644 --- a/compiler/codeGen/CgForeignCall.hs +++ b/compiler/codeGen/CgForeignCall.hs @@ -37,12 +37,6 @@ import Constants import StaticFlags import Outputable -import MachRegs (callerSaveVolatileRegs) - -- HACK: this is part of the NCG so we shouldn't use this, but we need - -- it for now to eliminate the need for saved regs to be in CmmCall. - -- The long term solution is to factor callerSaveVolatileRegs - -- from nativeGen into codeGen - import Control.Monad -- ----------------------------------------------------------------------------- |