X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FnativeGen%2FPprMach.hs;h=694e487058cff57a86dcc62a349b4c220ff96f67;hb=987530c1d23a59b986a54ba2bc9e198061fdcae9;hp=1995cd0d619c49046dd8128185d0e30ff368c133;hpb=6ee9554a738c442719ded861504acb729fd3d431;p=ghc-hetmet.git diff --git a/compiler/nativeGen/PprMach.hs b/compiler/nativeGen/PprMach.hs index 1995cd0..694e487 100644 --- a/compiler/nativeGen/PprMach.hs +++ b/compiler/nativeGen/PprMach.hs @@ -26,6 +26,7 @@ module PprMach ( #include "HsVersions.h" +import BlockId import Cmm import MachOp ( MachRep(..), wordRep, isFloatingRep ) import MachRegs -- may differ per-platform @@ -82,7 +83,7 @@ pprNatCmmTop (CmmProc info lbl params (ListGraph blocks)) = pprLabel (entryLblToInfoLbl lbl) ) $$ vcat (map pprBasicBlock blocks) - -- ^ Even the first block gets a label, because with branch-chain + -- above: Even the first block gets a label, because with branch-chain -- elimination, it might be the target of a goto. #if HAVE_SUBSECTIONS_VIA_SYMBOLS -- If we are using the .subsections_via_symbols directive @@ -348,7 +349,7 @@ pprReg IF_ARCH_i386(s,) IF_ARCH_x86_64(s,) r ppr_reg_no :: Int -> Doc ppr_reg_no i | i <= 31 = int i -- GPRs | i <= 63 = int (i-32) -- FPRs - | otherwise = ptext sLit "very naughty powerpc register" + | otherwise = ptext (sLit "very naughty powerpc register") #endif #endif