X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FZipCfgCmmRep.hs;h=d5496a7ff862dc77683ec036614cf0c5bf9948ec;hb=8a9eb3cd35117c62ac9758d118c6f4109b7330cb;hp=b08f2f302a4968dfa41de4e21836a681e1c3a13f;hpb=617eb195e67525ffda967099fa8d9899e2b15ce8;p=ghc-hetmet.git diff --git a/compiler/cmm/ZipCfgCmmRep.hs b/compiler/cmm/ZipCfgCmmRep.hs index b08f2f3..d5496a7 100644 --- a/compiler/cmm/ZipCfgCmmRep.hs +++ b/compiler/cmm/ZipCfgCmmRep.hs @@ -29,7 +29,6 @@ import CmmTx import CLabel import FastString import ForeignCall -import qualified ZipCfg as Z import qualified ZipDataflow as DF import ZipCfg import MkZipCfg @@ -37,10 +36,9 @@ import Util import BasicTypes import Maybes -import Monad +import Control.Monad import Outputable import Prelude hiding (zip, unzip, last) -import qualified Data.List as L import SMRep (ByteOff) import UniqSupply @@ -114,17 +112,17 @@ data Convention | NativeNodeCall -- Native C-- call including the node argument - | NativeReturn -- Native C-- return + | NativeReturn -- Native C-- return - | Slow -- Slow entry points: all args pushed on the stack + | Slow -- Slow entry points: all args pushed on the stack - | GC -- Entry to the garbage collector: uses the node reg! + | GC -- Entry to the garbage collector: uses the node reg! - | PrimOpCall -- Calling prim ops + | PrimOpCall -- Calling prim ops - | PrimOpReturn -- Returning from prim ops + | PrimOpReturn -- Returning from prim ops - | Foreign -- Foreign call/return + | Foreign -- Foreign call/return ForeignConvention | Private