X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Futils%2FFastMutInt.lhs;h=26183071f15c2622b5d5cd8ad7eafd5612822535;hp=1b2b05eb9f7e5a2d451d97be3bd6596afffb184f;hb=edc0bafd3fcd01b85a2e8894e5dfe149eb0e0857;hpb=d436c70d43fb905c63220040168295e473f4b90a diff --git a/compiler/utils/FastMutInt.lhs b/compiler/utils/FastMutInt.lhs index 1b2b05e..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