[project @ 1997-10-19 22:16:16 by sof]
authorsof <unknown>
Sun, 19 Oct 1997 22:17:22 +0000 (22:17 +0000)
committersof <unknown>
Sun, 19 Oct 1997 22:17:22 +0000 (22:17 +0000)
Updated to reflect MachRegs.Addr to MachRegs.Address renaming

ghc/compiler/nativeGen/AbsCStixGen.lhs
ghc/compiler/nativeGen/AsmCodeGen.lhs

index 7dcc67f..ee394ef 100644 (file)
@@ -14,11 +14,7 @@ import AbsCSyn
 import Stix
 
 import MachMisc
-#if __GLASGOW_HASKELL__ >= 202
-import MachRegs hiding (Addr)
-#else
 import MachRegs
-#endif
 
 import AbsCUtils       ( getAmodeRep, mixedTypeLocn,
                          nonemptyAbsC, mkAbsCStmts, mkAbsCStmtList
@@ -453,8 +449,8 @@ already finish with a jump to the join point.
        cjmpHi = StCondJump dflt (StPrim IntGtOp [am, StInt highTag])
 
        offset = StPrim IntSubOp [am, StInt lowTag]
-       jump = StJump (StInd PtrRep (StIndex PtrRep (StCLbl utlbl) offset))
 
+       jump = StJump (StInd PtrRep (StIndex PtrRep (StCLbl utlbl) offset))
        tlbl = StLabel utlbl
        table = StData PtrRep (mkTable branches [lowTag..highTag] [])
     in
index d57f34b..d592676 100644 (file)
@@ -11,11 +11,7 @@ IMP_Ubiq(){-uitous-}
 IMPORT_1_3(IO(Handle))
 
 import MachMisc
-#if __GLASGOW_HASKELL__ >= 202
-import MachRegs         hiding (Addr)
-#else
 import MachRegs
-#endif
 import MachCode
 import PprMach