X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Futils%2FFastMutInt.lhs;h=26183071f15c2622b5d5cd8ad7eafd5612822535;hp=dfa188ed2abe49ce58d5a2943c694fcc065c5cb8;hb=edc0bafd3fcd01b85a2e8894e5dfe149eb0e0857;hpb=1c83695b5b9ae3175c18908c1d58aeadb1f225ae diff --git a/compiler/utils/FastMutInt.lhs b/compiler/utils/FastMutInt.lhs index dfa188e..2618307 100644 --- a/compiler/utils/FastMutInt.lhs +++ b/compiler/utils/FastMutInt.lhs @@ -1,4 +1,5 @@ \begin{code} +{-# LANGUAGE BangPatterns #-} {-# OPTIONS -cpp #-} {-# OPTIONS_GHC -O #-} -- We always optimise this, otherwise performance of a non-optimised @@ -19,7 +20,7 @@ module FastMutInt( #ifdef __GLASGOW_HASKELL__ -#include "MachDeps.h" +#include "../includes/MachDeps.h" #ifndef SIZEOF_HSINT #define SIZEOF_HSINT INT_SIZE_IN_BYTES #endif @@ -27,12 +28,6 @@ module FastMutInt( import GHC.Base import GHC.Ptr -#if __GLASGOW_HASKELL__ >= 611 -import GHC.IO ( IO(..) ) -#else -import GHC.IOBase ( IO(..) ) -#endif - #else /* ! __GLASGOW_HASKELL__ */ import Data.IORef