diff options
Diffstat (limited to 'compiler/codeGen')
-rw-r--r-- | compiler/codeGen/StgCmmBind.hs | 2 | ||||
-rw-r--r-- | compiler/codeGen/StgCmmExpr.hs | 2 | ||||
-rw-r--r-- | compiler/codeGen/StgCmmExtCode.hs | 5 | ||||
-rw-r--r-- | compiler/codeGen/StgCmmForeign.hs | 4 | ||||
-rw-r--r-- | compiler/codeGen/StgCmmHeap.hs | 2 | ||||
-rw-r--r-- | compiler/codeGen/StgCmmLayout.hs | 2 | ||||
-rw-r--r-- | compiler/codeGen/StgCmmPrim.hs | 2 |
7 files changed, 0 insertions, 19 deletions
diff --git a/compiler/codeGen/StgCmmBind.hs b/compiler/codeGen/StgCmmBind.hs index 9cedfcdd62..fde662b317 100644 --- a/compiler/codeGen/StgCmmBind.hs +++ b/compiler/codeGen/StgCmmBind.hs @@ -52,9 +52,7 @@ import DynFlags import Control.Monad -#if __GLASGOW_HASKELL__ >= 709 import Prelude hiding ((<*>)) -#endif ------------------------------------------------------------------------ -- Top-level bindings diff --git a/compiler/codeGen/StgCmmExpr.hs b/compiler/codeGen/StgCmmExpr.hs index de23443f40..c4ff11a1d0 100644 --- a/compiler/codeGen/StgCmmExpr.hs +++ b/compiler/codeGen/StgCmmExpr.hs @@ -50,9 +50,7 @@ import Outputable import Control.Monad (unless,void) import Control.Arrow (first) -#if __GLASGOW_HASKELL__ >= 709 import Prelude hiding ((<*>)) -#endif ------------------------------------------------------------------------ -- cgExpr: the main function diff --git a/compiler/codeGen/StgCmmExtCode.hs b/compiler/codeGen/StgCmmExtCode.hs index 50015989e0..db03a3883b 100644 --- a/compiler/codeGen/StgCmmExtCode.hs +++ b/compiler/codeGen/StgCmmExtCode.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE CPP #-} - -- | Our extended FCode monad. -- We add a mapping from names to CmmExpr, to support local variable names in @@ -54,9 +52,6 @@ import UniqFM import Unique import Control.Monad (liftM, ap) -#if __GLASGOW_HASKELL__ < 709 -import Control.Applicative (Applicative(..)) -#endif -- | The environment contains variable definitions or blockids. data Named diff --git a/compiler/codeGen/StgCmmForeign.hs b/compiler/codeGen/StgCmmForeign.hs index 285e92c2ed..1dc430d06c 100644 --- a/compiler/codeGen/StgCmmForeign.hs +++ b/compiler/codeGen/StgCmmForeign.hs @@ -45,11 +45,7 @@ import BasicTypes import Control.Monad -#if __GLASGOW_HASKELL__ >= 709 import Prelude hiding( succ, (<*>) ) -#else -import Prelude hiding( succ ) -#endif ----------------------------------------------------------------------------- -- Code generation for Foreign Calls diff --git a/compiler/codeGen/StgCmmHeap.hs b/compiler/codeGen/StgCmmHeap.hs index bcc5221275..ebff4402d0 100644 --- a/compiler/codeGen/StgCmmHeap.hs +++ b/compiler/codeGen/StgCmmHeap.hs @@ -48,9 +48,7 @@ import DynFlags import FastString( mkFastString, fsLit ) import Panic( sorry ) -#if __GLASGOW_HASKELL__ >= 709 import Prelude hiding ((<*>)) -#endif import Control.Monad (when) import Data.Maybe (isJust) diff --git a/compiler/codeGen/StgCmmLayout.hs b/compiler/codeGen/StgCmmLayout.hs index b46ab5ae14..47ee370212 100644 --- a/compiler/codeGen/StgCmmLayout.hs +++ b/compiler/codeGen/StgCmmLayout.hs @@ -25,9 +25,7 @@ module StgCmmLayout ( #include "HsVersions.h" -#if __GLASGOW_HASKELL__ >= 709 import Prelude hiding ((<*>)) -#endif import StgCmmClosure import StgCmmEnv diff --git a/compiler/codeGen/StgCmmPrim.hs b/compiler/codeGen/StgCmmPrim.hs index 5d3b94f090..84f263cc3c 100644 --- a/compiler/codeGen/StgCmmPrim.hs +++ b/compiler/codeGen/StgCmmPrim.hs @@ -43,9 +43,7 @@ import FastString import Outputable import Util -#if __GLASGOW_HASKELL__ >= 709 import Prelude hiding ((<*>)) -#endif import Data.Bits ((.&.), bit) import Control.Monad (liftM, when) |