diff options
Diffstat (limited to 'ghc/compiler/nativeGen/StixMacro.lhs')
| -rw-r--r-- | ghc/compiler/nativeGen/StixMacro.lhs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc/compiler/nativeGen/StixMacro.lhs b/ghc/compiler/nativeGen/StixMacro.lhs index 5333c3c70e..58f9beb3ae 100644 --- a/ghc/compiler/nativeGen/StixMacro.lhs +++ b/ghc/compiler/nativeGen/StixMacro.lhs @@ -8,9 +8,15 @@ module StixMacro ( macroCode, heapCheck ) where IMP_Ubiq(){-uitious-} +#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201 IMPORT_DELOOPER(NcgLoop) ( amodeToStix ) +#else +import {-# SOURCE #-} StixPrim ( amodeToStix ) +#endif import MachMisc + +-- In 2.0x we import Addr via GlaExts, so we better hide the other one here. #if __GLASGOW_HASKELL__ >= 202 import MachRegs hiding (Addr) #else |
