From: Ben.Lippmeier@anu.edu.au Date: Sun, 15 Feb 2009 07:13:34 +0000 (+0000) Subject: NCG: validate fixes for ghc-6.6 X-Git-Tag: 2009-03-13~71 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=f6d38cd45225acd1d6a729fbeebd43146a498feb NCG: validate fixes for ghc-6.6 --- diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index b276943..508615c 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -466,7 +466,6 @@ Library Alpha.Regs Alpha.RegInfo Alpha.Instr - Alpha.Ppr Alpha.CodeGen X86.Regs X86.RegInfo diff --git a/compiler/nativeGen/Alpha/Ppr.hs b/compiler/nativeGen/Alpha/Ppr.hs-old similarity index 96% rename from compiler/nativeGen/Alpha/Ppr.hs rename to compiler/nativeGen/Alpha/Ppr.hs-old index f48c83c..c14eef2 100644 --- a/compiler/nativeGen/Alpha/Ppr.hs +++ b/compiler/nativeGen/Alpha/Ppr.hs-old @@ -158,18 +158,7 @@ pprTypeAndSizeDecl lbl pprInstr :: Instr -> Doc -pprInstr (COMMENT s) = empty -- nuke 'em -{- -pprInstr (COMMENT s) - = IF_ARCH_alpha( ((<>) (ptext (sLit "\t# ")) (ftext s)) - ,IF_ARCH_sparc( ((<>) (ptext (sLit "# ")) (ftext s)) - ,IF_ARCH_i386( ((<>) (ptext (sLit "# ")) (ftext s)) - ,IF_ARCH_x86_64( ((<>) (ptext (sLit "# ")) (ftext s)) - ,IF_ARCH_powerpc( IF_OS_linux( - ((<>) (ptext (sLit "# ")) (ftext s)), - ((<>) (ptext (sLit "; ")) (ftext s))) - ,))))) --} + pprInstr (DELTA d) = pprInstr (COMMENT (mkFastString ("\tdelta = " ++ show d))) @@ -568,3 +557,6 @@ pprSizeRegRegReg name size reg1 reg2 reg3 ] -} + + +