summaryrefslogtreecommitdiff
path: root/compiler/nativeGen
diff options
context:
space:
mode:
authorThomas Schilling <nominolo@googlemail.com>2008-07-20 17:20:54 +0000
committerThomas Schilling <nominolo@googlemail.com>2008-07-20 17:20:54 +0000
commit5cb15e98b4d6d56f6b4652e56691e45463134c87 (patch)
tree94b8ef9eb9be89b3f74c0bcf6e34412bdc70f29d /compiler/nativeGen
parent601414c1ef664e0b9e4e45db46e115b3a9e8632d (diff)
downloadhaskell-5cb15e98b4d6d56f6b4652e56691e45463134c87.tar.gz
Fix Haddock errors.
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r--compiler/nativeGen/PprMach.hs2
-rw-r--r--compiler/nativeGen/RegAllocColor.hs6
2 files changed, 4 insertions, 4 deletions
diff --git a/compiler/nativeGen/PprMach.hs b/compiler/nativeGen/PprMach.hs
index 0c14ff8f7b..b77f75461f 100644
--- a/compiler/nativeGen/PprMach.hs
+++ b/compiler/nativeGen/PprMach.hs
@@ -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
diff --git a/compiler/nativeGen/RegAllocColor.hs b/compiler/nativeGen/RegAllocColor.hs
index 51a0bffbc6..30361b20bd 100644
--- a/compiler/nativeGen/RegAllocColor.hs
+++ b/compiler/nativeGen/RegAllocColor.hs
@@ -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