Fix Haddock errors.
authorThomas Schilling <nominolo@googlemail.com>
Sun, 20 Jul 2008 17:20:54 +0000 (17:20 +0000)
committerThomas Schilling <nominolo@googlemail.com>
Sun, 20 Jul 2008 17:20:54 +0000 (17:20 +0000)
compiler/nativeGen/PprMach.hs
compiler/nativeGen/RegAllocColor.hs

index 0c14ff8..b77f754 100644 (file)
@@ -83,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
index 51a0bff..30361b2 100644 (file)
@@ -48,9 +48,9 @@ regAlloc
        -> UniqFM (UniqSet Reg)         -- ^ the registers we can use for allocation
        -> UniqSet Int                  -- ^ the set of available spill slots.
        -> [LiveCmmTop]                 -- ^ code annotated with liveness information.
-       -> UniqSM 
-               ( [NatCmmTop]           -- ^ code with registers allocated.
-               , [RegAllocStats] )     -- ^ stats for each stage of allocation
+       -> UniqSM ( [NatCmmTop], [RegAllocStats] )
+           -- ^ code with registers allocated and stats for each stage of
+           -- allocation
                
 regAlloc dflags regsFree slotsFree code
  = do